mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-31 03:43:57 +08:00
增加系统提示词,支持dify使用function call
This commit is contained in:
@@ -63,4 +63,4 @@ class LLMProvider(LLMProviderBase):
|
||||
|
||||
except Exception as e:
|
||||
logger.bind(tag=TAG).error(f"Error in Ollama function call: {e}")
|
||||
yield {"type": "content", "content": f"【Ollama服务响应异常: {str(e)}】"}
|
||||
yield f"【Ollama服务响应异常: {str(e)}】", None
|
||||
|
||||
Reference in New Issue
Block a user