feat(llm): update model version and add reasoning effort parameter
Some checks failed
Build and Push Docker / build-and-push (push) Failing after 7m51s

This commit is contained in:
gameloader
2025-10-21 14:24:23 +08:00
parent ce1de82ee3
commit 994b6fc0fe
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ OPENAI_EMBEDDING_MODEL = "doubao-embedding-large-text-250515"
OPENAI_EMBEDDING_DIM = 2048
OPENAI_EMBEDDING_KEY = os.getenv("DOUBAO_API_KEY", "YOUR_API_KEY_PLACEHOLDER_IF_NOT_IN_ENV")
OPENAI_EMBEDDING_BASE = "https://ark.cn-beijing.volces.com/api/v3"
OPENAI_LLM_MODEL = "doubao-seed-1-6-250615"
OPENAI_LLM_MODEL = "doubao-seed-1-6-251015"
# ---huggingface模型---
HUGGINGFACE_KEY = "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"

View File

@ -123,6 +123,7 @@ class Mem0Integration:
{"role": "system", "content": "你是一个乐于助人的助手,可以访问用户记忆。请使用提供的记忆来个性化你的回复。"},
{"role": "user", "content": enhanced_prompt}
],
reasoning_effort="minimal",
)
assistant_response = response.choices[0].message.content