openrouter-provider 0.0.2__py3-none-any.whl → 0.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of openrouter-provider might be problematic. Click here for more details.

@@ -82,7 +82,6 @@ class OpenRouterProvider:
82
82
 
83
83
 
84
84
  def invoke(self, model: LLMModel, system_prompt: Chat_message, querys: list[Chat_message], tools:list[tool_model]=[], provider:ProviderConfig=None) -> Chat_message:
85
- print(provider.to_dict())
86
85
  response = self.client.chat.completions.create(
87
86
  model=model.name,
88
87
  messages=self.make_prompt(system_prompt, querys),
@@ -98,6 +97,5 @@ class OpenRouterProvider:
98
97
  for tool in response.choices[0].message.tool_calls:
99
98
  reply.tool_calls.append(ToolCall(id=tool.id, name=tool.function.name, arguments=tool.function.arguments))
100
99
 
101
- print(response)
102
100
  return reply
103
101
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openrouter-provider
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary: This is an unofficial wrapper of OpenRouter.
5
5
  Author-email: Keisuke Miyamto <aichiboyhighschool@gmail.com>
6
6
  Requires-Python: >=3.7
@@ -2,9 +2,9 @@ __init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  OpenRouterProvider/Chat_message.py,sha256=EG6CGfe3qLdczehA6wkX9FWTEFdKteAKWprQ5VSRbbU,4259
3
3
  OpenRouterProvider/Chatbot_manager.py,sha256=EpLWhxx7xnRa-q7xqP2Ur9dmYb9Mzv_UF6BChwpcbYk,4357
4
4
  OpenRouterProvider/LLMs.py,sha256=-0ELd6fqmdDvsdaPIElRsluiK85-Y6USwvQb2b4M8TA,2607
5
- OpenRouterProvider/OpenRouterProvider.py,sha256=_tm0Md1tQf3z6IZBQ0-vDcyUCZ0r37HKi9RfPMlb-z0,3987
5
+ OpenRouterProvider/OpenRouterProvider.py,sha256=BE7O2b1iW_g8xp7tFjwgGzd6T3G96EVI4Pz69ovw4RU,3929
6
6
  OpenRouterProvider/Tool.py,sha256=QeeWOD2oaYjB9tjF-Jvcjd_G_qSUIuKwFgyh20Ne06I,2010
7
- openrouter_provider-0.0.2.dist-info/METADATA,sha256=ugubKFQtxsYsCs_-mXHIUE7nsgdbJ8iUaCHlvfaJGRc,5995
8
- openrouter_provider-0.0.2.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
9
- openrouter_provider-0.0.2.dist-info/top_level.txt,sha256=I5BMEzkQFEnEYTqOY1Ktmnp7r1rrZQyeWdclKyyyHKs,28
10
- openrouter_provider-0.0.2.dist-info/RECORD,,
7
+ openrouter_provider-0.0.3.dist-info/METADATA,sha256=iWSY6mLLjCPaWUEyt_ATUKsdKONSGp7JHjkQeJbI2UQ,5995
8
+ openrouter_provider-0.0.3.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
9
+ openrouter_provider-0.0.3.dist-info/top_level.txt,sha256=I5BMEzkQFEnEYTqOY1Ktmnp7r1rrZQyeWdclKyyyHKs,28
10
+ openrouter_provider-0.0.3.dist-info/RECORD,,