fix: 接入前端V1路由+菜单, 更新LLM网关配置(DeepSeek+QwenVL)及模型定价
This commit is contained in:
@@ -9,7 +9,7 @@ class Settings(BaseSettings):
|
||||
|
||||
# App
|
||||
APP_NAME: str = "AI Worker Platform"
|
||||
APP_VERSION: str = "1.0.0"
|
||||
APP_VERSION: str = "1.1.0"
|
||||
SECRET_KEY: str = "dev-secret-key-change-in-production"
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES: int = 1440 # 24 hours
|
||||
|
||||
@@ -20,10 +20,10 @@ class Settings(BaseSettings):
|
||||
REDIS_URL: str = ""
|
||||
|
||||
# LLM Defaults
|
||||
DEFAULT_LLM_PROVIDER: str = "openai"
|
||||
DEFAULT_LLM_PROVIDER: str = "deepseek"
|
||||
DEFAULT_LLM_API_KEY: str = ""
|
||||
DEFAULT_LLM_BASE_URL: str = "https://api.openai.com/v1"
|
||||
DEFAULT_LLM_MODEL: str = "gpt-4o-mini"
|
||||
DEFAULT_LLM_BASE_URL: str = "https://api.deepseek.com"
|
||||
DEFAULT_LLM_MODEL: str = "deepseek-v4-flash"
|
||||
|
||||
# CORS
|
||||
CORS_ORIGINS: str = "http://localhost:5173,http://localhost:3000"
|
||||
|
||||
Reference in New Issue
Block a user