make gemini working. fix the default response with function call.

This commit is contained in:
MrChen 2025-03-23 18:58:40 +08:00 committed by GitHub
parent 19455f89d3
commit 249343a592
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,4 +35,4 @@ class LLMProviderBase(ABC):
""" """
# For providers that don't support functions, just return regular response # For providers that don't support functions, just return regular response
for token in self.response(session_id, dialogue): for token in self.response(session_id, dialogue):
yield {"type": "content", "content": token} yield [token, None]