-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.template
More file actions
90 lines (68 loc) · 3.34 KB
/
Copy path.env.template
File metadata and controls
90 lines (68 loc) · 3.34 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
# FlexiAI Toolsmith Environment Configuration Template
# Copy this file to .env and fill in your actual values
# ============================================================================
# GENERAL SETTINGS (Required)
# ============================================================================
# AI Provider: openai, azure, deepseek, qwen, github_models
CREDENTIAL_TYPE=openai
# Assistant ID (required - get this from your OpenAI/Azure dashboard)
ASSISTANT_ID=your_assistant_id_here
# User ID (required)
USER_ID=default_user
# Optional: Assistant and User names
ASSISTANT_NAME=Assistant
USER_NAME=User
# Active channels: cli, redis, quart (comma-separated)
# Examples: "cli", "cli,quart", "cli,redis,quart"
ACTIVE_CHANNELS=cli,quart
# Project root directory (absolute path)
# Example: /home/user/projects
USER_PROJECT_ROOT_DIR=
# Secret key for Quart sessions (generate a random string for production)
SECRET_KEY=your-secret-key-here-change-in-production
# ============================================================================
# OPENAI SETTINGS (Required if CREDENTIAL_TYPE=openai)
# ============================================================================
OPENAI_API_KEY=sk-your-openai-api-key-here
OPENAI_API_VERSION=2023-11-22
OPENAI_ORGANIZATION_ID=
OPENAI_PROJECT_ID=
OPENAI_ASSISTANT_VERSION=v2
# ============================================================================
# AZURE OPENAI SETTINGS (Required if CREDENTIAL_TYPE=azure)
# ============================================================================
AZURE_OPENAI_API_KEY=your-azure-api-key-here
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/
AZURE_OPENAI_API_VERSION=2024-05-01-preview
# ============================================================================
# DEEPSEEK SETTINGS (Required if CREDENTIAL_TYPE=deepseek)
# ============================================================================
DEEPSEEK_API_KEY=your-deepseek-api-key-here
DEEPSEEK_BASE_URL=https://api.deepseek.com/v1
DEEPSEEK_API_VERSION=2023-11-22
# ============================================================================
# QWEN SETTINGS (Required if CREDENTIAL_TYPE=qwen)
# ============================================================================
QWEN_API_KEY=your-qwen-api-key-here
QWEN_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
QWEN_API_VERSION=2023-11-22
# ============================================================================
# GITHUB AZURE INFERENCE SETTINGS (Required if CREDENTIAL_TYPE=github_models)
# ============================================================================
GITHUB_TOKEN=your-github-token-here
GITHUB_AZURE_INFERENCE_ENDPOINT=https://models.inference.ai.azure.com
# ============================================================================
# OPTIONAL SETTINGS
# ============================================================================
# YouTube API Key (optional - needed for YouTube search tool)
# Get it from: https://console.cloud.google.com/apis/credentials
YOUTUBE_API_KEY=
# Database URL (optional - defaults to SQLite)
# Examples:
# SQLite: sqlite:///path/to/database.db
# PostgreSQL: postgresql://user:password@localhost/dbname
# MySQL: mysql://user:password@localhost/dbname
DATABASE_URL=
# Redis URL (optional - defaults to redis://localhost:6379/0)
# Only needed if 'redis' is in ACTIVE_CHANNELS
REDIS_URL=redis://localhost:6379/0