forked from abrahambrisset/Qsaria
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
120 lines (97 loc) · 5.38 KB
/
Copy path.env.example
File metadata and controls
120 lines (97 loc) · 5.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# ==============================================================================
# Cs_copilot Environment Variables Template
# ==============================================================================
# Optional: Copy this file to .env when you want file-based config.
# Without .env: run ./docker-start.sh and enter DEEPSEEK_API_KEY when prompted
# (not stored on disk). With .env: same file works for local runs and Docker
# (docker-compose overrides S3 endpoint to http://minio:9000 in Docker).
# NEVER commit .env to git!
# ------------------------------------------------------------------------------
# Authentication & Security
# ------------------------------------------------------------------------------
# JWT secret for Chainlit authentication
# DOCKER: Auto-generated and persisted to data/.chainlit_secret on first container start
# LOCAL: Generate with: chainlit create-secret or openssl rand -hex 32
# OPTIONAL: Set this to override auto-generated secret
# CHAINLIT_AUTH_SECRET=your-secret-here-run-chainlit-create-secret
# ------------------------------------------------------------------------------
# AI Model Configuration
# ------------------------------------------------------------------------------
# These environment variables override the .modelconf file settings.
# Leave commented-out to use .modelconf defaults.
# Model provider: "deepseek" (cloud API), "openrouter" (OpenRouter gateway), or "ollama" (local model)
# MODEL_PROVIDER=deepseek
# Model ID (provider-specific)
# MODEL_ID=deepseek-chat
# Ollama host (only needed when MODEL_PROVIDER=ollama)
# Default in Docker: http://host.docker.internal:11434 (reaches host Ollama)
# Default locally: http://localhost:11434
# OLLAMA_HOST=http://localhost:11434
# ------------------------------------------------------------------------------
# AI Model API Keys
# ------------------------------------------------------------------------------
# DeepSeek API key – only required when using the deepseek provider
DEEPSEEK_API_KEY=your-deepseek-api-key-here
# OpenRouter API key – only required when using the openrouter provider
# Get a key from: https://openrouter.ai/settings/keys
# OPENROUTER_API_KEY=your-openrouter-api-key-here
# ------------------------------------------------------------------------------
# Storage Configuration (S3/MinIO)
# ------------------------------------------------------------------------------
# Enable S3/MinIO storage only when you explicitly want remote artifact storage
USE_S3=false
# S3/MinIO endpoint (only used when USE_S3=true; Docker overrides to http://minio:9000 in compose)
S3_ENDPOINT_URL=http://localhost:9000
# MinIO credentials (only used when USE_S3=true with an explicit endpoint)
MINIO_ACCESS_KEY=cs_copilot
MINIO_SECRET_KEY=chempwd123
# S3 bucket name for storing assets when USE_S3=true
ASSETS_BUCKET=chatbot-assets
S3_BUCKET_NAME=chatbot-assets
# AWS region (only needed for AWS S3 when USE_S3=true and no endpoint is set)
AWS_REGION=us-east-1
# ------------------------------------------------------------------------------
# ChEMBL Local Database (Optional — pick ONE backend)
# ------------------------------------------------------------------------------
# When any ChEMBL database env var is set the agent uses a local database
# instead of the public REST API. Auto-detection priority: SQLite > PG > MySQL.
# Download dumps from: https://ftp.ebi.ac.uk/pub/databases/chembl/ChEMBLdb/latest/
# Docs: https://chembl.gitbook.io/chembl-interface-documentation/downloads
# --- SQLite (simplest, no extra driver) ---
# CHEMBL_SQLITE_PATH=/path/to/chembl_36_sqlite/chembl_36.db
# --- PostgreSQL (install driver: uv sync --extra postgresql) ---
# CHEMBL_PG_HOST=localhost
# CHEMBL_PG_PORT=5432
# CHEMBL_PG_USER=chembl
# CHEMBL_PG_PASSWORD=
# CHEMBL_PG_DATABASE=chembl_36
# --- MySQL (install driver: uv sync --extra mysql) ---
# CHEMBL_MYSQL_HOST=localhost
# CHEMBL_MYSQL_PORT=3306
# CHEMBL_MYSQL_USER=chembl
# CHEMBL_MYSQL_PASSWORD=
# CHEMBL_MYSQL_DATABASE=chembl_36
# DBAASP peptide activity CSV used by live peptide-design workflows
# DBAASP_DATA_PATH=~/.cache/cs_copilot/data/dbaasp_data.csv
# ------------------------------------------------------------------------------
# Session Management
# ------------------------------------------------------------------------------
# Optional: Override the session ID (usually auto-generated)
# SESSION_ID=
# ------------------------------------------------------------------------------
# Optional MCP Server Policy
# ------------------------------------------------------------------------------
# Strict startup tool profile (standard, bootstrap, or a domain profile)
# CS_COPILOT_MCP_PROFILE=standard
# LLM-dependent MCP behavior: external, agno-model, or disabled
# CS_COPILOT_MCP_LLM_POLICY=external
# Optional bearer token for HTTP transports; leave unset for local stdio
# CS_COPILOT_MCP_AUTH_TOKEN=replace-with-a-strong-random-token
# ------------------------------------------------------------------------------
# Notes
# ------------------------------------------------------------------------------
# - Docker: MinIO endpoint is overridden in docker-compose.yml; use credentials above.
# - Local standalone MinIO: often MINIO_ACCESS_KEY=minioadmin, MINIO_SECRET_KEY=minioadmin.
# - Production: use strong, unique credentials; keep .env out of version control.
# AGNO telemetry
AGNO_TELEMETRY=false # set to true to enable telemetry to help the agno team improve the library