mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-08 17:08:35 +08:00
更新 llm.py
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ class LLMHelper:
|
|||||||
|
|
||||||
# 检查是否有profile
|
# 检查是否有profile
|
||||||
if hasattr(model, "profile") and model.profile:
|
if hasattr(model, "profile") and model.profile:
|
||||||
logger.info(f"使用LLM模型: {model.model},Profile: {model.profile}")
|
logger.debug(f"使用LLM模型: {model.model},Profile: {model.profile}")
|
||||||
else:
|
else:
|
||||||
model.profile = {
|
model.profile = {
|
||||||
"max_input_tokens": settings.LLM_MAX_CONTEXT_TOKENS
|
"max_input_tokens": settings.LLM_MAX_CONTEXT_TOKENS
|
||||||
|
|||||||
Reference in New Issue
Block a user