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