增加机器人能力
This commit is contained in:
15
.env
15
.env
@@ -9,7 +9,7 @@
|
||||
SERVER_HOST=0.0.0.0
|
||||
|
||||
# The port for the main Flask web server.
|
||||
SERVER_PORT=5001
|
||||
SERVER_PORT=5000
|
||||
|
||||
# The port for the WebSocket server for real-time chat.
|
||||
WEBSOCKET_PORT=8765
|
||||
@@ -33,7 +33,7 @@ LOG_LEVEL=INFO
|
||||
DATABASE_URL=sqlite:///./data/tsp_assistant.db
|
||||
|
||||
# 远程 MySQL(生产环境使用,需要时取消注释)
|
||||
# DATABASE_URL=mysql+pymysql://tsp_assistant:123456@jeason.online/tsp_assistant?charset=utf8mb4
|
||||
#DATABASE_URL=mysql+pymysql://tsp_assistant:123456@jeason.online/tsp_assistant?charset=utf8mb4
|
||||
|
||||
# ============================================================================
|
||||
# LARGE LANGUAGE MODEL (LLM) CONFIGURATION
|
||||
@@ -42,13 +42,13 @@ DATABASE_URL=sqlite:///./data/tsp_assistant.db
|
||||
LLM_PROVIDER=qwen
|
||||
|
||||
# The API key for your chosen LLM provider.
|
||||
LLM_API_KEY=sk-c0dbefa1718d46eaa897199135066f00
|
||||
LLM_API_KEY=sk-Gce85QLROESeOWf3icd2mQnYHOrmMYojwVPQ0AubMjGQ5ZE2
|
||||
|
||||
# The base URL for the LLM API. This is often needed for OpenAI-compatible endpoints.
|
||||
LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
|
||||
LLM_BASE_URL=https://gemini.jeason.online/v1
|
||||
|
||||
# The specific model to use, e.g., "qwen-plus-latest", "gpt-3.5-turbo", "claude-3-sonnet-20240229"
|
||||
LLM_MODEL=qwen-plus-latest
|
||||
LLM_MODEL=gemini-2.5-flash
|
||||
|
||||
# The temperature for the model's responses (0.0 to 2.0).
|
||||
LLM_TEMPERATURE=0.7
|
||||
@@ -105,8 +105,7 @@ AI_HUMAN_RESOLUTION_CONFIDENCE=0.90
|
||||
# REDIS CACHE CONFIGURATION
|
||||
# ============================================================================
|
||||
# Redis server host (use localhost for local development)
|
||||
REDIS_HOST=localhost
|
||||
|
||||
REDIS_HOST=jeason.online
|
||||
# Redis server port
|
||||
REDIS_PORT=6379
|
||||
|
||||
@@ -114,7 +113,7 @@ REDIS_PORT=6379
|
||||
REDIS_DB=0
|
||||
|
||||
# Redis password (leave empty if no password)
|
||||
REDIS_PASSWORD=
|
||||
REDIS_PASSWORD=123456
|
||||
|
||||
# Redis connection pool size
|
||||
REDIS_POOL_SIZE=10
|
||||
|
||||
Reference in New Issue
Block a user