mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 11:13:55 +08:00
增加系统提示词,支持dify使用function call
This commit is contained in:
@@ -35,4 +35,5 @@ class LLMProviderBase(ABC):
|
||||
"""
|
||||
# For providers that don't support functions, just return regular response
|
||||
for token in self.response(session_id, dialogue):
|
||||
yield {"type": "content", "content": token}
|
||||
yield token, None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user