bugfix: small fixes

This commit is contained in:
Shivering Ocelot committed 2026-09-04 00:14:51 -05:00
1 parent 30afcf2803
commit d9204d262c
4 files changed
+64 -91

No files matched your search

-2
View File
@@ -350,8 +350,6 @@ async def openrouter_chat_completion(app, messages, model, tools=[], opts={}, ag
if formatted_tools:
kwargs['tools'] = formatted_tools
print("all kwargs: " + repr(kwargs))
stream_response = await app.openrouter_client.chat.send_async(**kwargs)
# OpenAI format streams tool calls in parts