mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
make gemini working. fix the default response with function call.
This commit is contained in:
parent
19455f89d3
commit
249343a592
1 changed files with 1 additions and 1 deletions
|
|
@ -35,4 +35,4 @@ 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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue