mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 23:09:19 +08:00
fix: 探测 Responses/store 能力并在无状态时用 Completions 带全量历史
This commit is contained in:
@@ -77,6 +77,8 @@ class Settings(BaseSettings):
|
||||
# 为模型输出与本轮 tool 预留的 token
|
||||
context_reserve_output_tokens: int = 4096
|
||||
context_reserve_tool_tokens: int = 8192
|
||||
# Responses/store 能力缓存 TTL(秒)
|
||||
llm_capability_ttl_seconds: int = 604800
|
||||
|
||||
@property
|
||||
def cors_origin_list(self) -> list[str]:
|
||||
|
||||
Reference in New Issue
Block a user