mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 09:49:19 +08:00
feat: 贯通 context_window 配置并按 token 预算裁剪对话历史
This commit is contained in:
@@ -40,6 +40,7 @@ class LlmRuntimeService:
|
||||
base_url=self._settings.llm_fallback_base_url.rstrip("/"),
|
||||
api_key=self._settings.llm_fallback_api_key,
|
||||
model=self._settings.llm_fallback_model,
|
||||
context_window=None,
|
||||
)
|
||||
|
||||
raise HTTPException(
|
||||
|
||||
Reference in New Issue
Block a user