增加机器人能力

This commit is contained in:
root
2026-03-20 10:29:45 +08:00
parent bc536898a1
commit c7ee292c4f
65 changed files with 7 additions and 8 deletions

15
.env
View File

@@ -9,7 +9,7 @@
SERVER_HOST=0.0.0.0 SERVER_HOST=0.0.0.0
# The port for the main Flask web server. # The port for the main Flask web server.
SERVER_PORT=5001 SERVER_PORT=5000
# The port for the WebSocket server for real-time chat. # The port for the WebSocket server for real-time chat.
WEBSOCKET_PORT=8765 WEBSOCKET_PORT=8765
@@ -33,7 +33,7 @@ LOG_LEVEL=INFO
DATABASE_URL=sqlite:///./data/tsp_assistant.db DATABASE_URL=sqlite:///./data/tsp_assistant.db
# 远程 MySQL生产环境使用需要时取消注释 # 远程 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 # LARGE LANGUAGE MODEL (LLM) CONFIGURATION
@@ -42,13 +42,13 @@ DATABASE_URL=sqlite:///./data/tsp_assistant.db
LLM_PROVIDER=qwen LLM_PROVIDER=qwen
# The API key for your chosen LLM provider. # 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. # 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" # 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). # The temperature for the model's responses (0.0 to 2.0).
LLM_TEMPERATURE=0.7 LLM_TEMPERATURE=0.7
@@ -105,8 +105,7 @@ AI_HUMAN_RESOLUTION_CONFIDENCE=0.90
# REDIS CACHE CONFIGURATION # REDIS CACHE CONFIGURATION
# ============================================================================ # ============================================================================
# Redis server host (use localhost for local development) # Redis server host (use localhost for local development)
REDIS_HOST=localhost REDIS_HOST=jeason.online
# Redis server port # Redis server port
REDIS_PORT=6379 REDIS_PORT=6379
@@ -114,7 +113,7 @@ REDIS_PORT=6379
REDIS_DB=0 REDIS_DB=0
# Redis password (leave empty if no password) # Redis password (leave empty if no password)
REDIS_PASSWORD= REDIS_PASSWORD=123456
# Redis connection pool size # Redis connection pool size
REDIS_POOL_SIZE=10 REDIS_POOL_SIZE=10

Binary file not shown.

Binary file not shown.