feat(llm): update model version and add reasoning effort parameter
Some checks failed
Build and Push Docker / build-and-push (push) Failing after 7m51s
Some checks failed
Build and Push Docker / build-and-push (push) Failing after 7m51s
This commit is contained in:
@ -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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"
|
||||
|
@ -123,6 +123,7 @@ class Mem0Integration:
|
||||
{"role": "system", "content": "你是一个乐于助人的助手,可以访问用户记忆。请使用提供的记忆来个性化你的回复。"},
|
||||
{"role": "user", "content": enhanced_prompt}
|
||||
],
|
||||
reasoning_effort="minimal",
|
||||
)
|
||||
|
||||
assistant_response = response.choices[0].message.content
|
||||
|
Reference in New Issue
Block a user