We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04bec7d commit 1815f22Copy full SHA for 1815f22
llms/main.py
@@ -522,6 +522,8 @@ async def chat(self, chat):
522
chat = await process_chat(chat)
523
_log(f"POST {self.chat_url}")
524
_log(chat_summary(chat))
525
+ # remove metadata if any (conflicts with some providers, e.g. Z.ai)
526
+ chat.pop('metadata', None)
527
528
async with aiohttp.ClientSession() as session:
529
started_at = time.time()
0 commit comments