openrouter-provider 1.0.1__py3-none-any.whl → 1.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.

openrouter/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ from .llms import *
2
+ from .message import *
3
+ from .openrouter import *
4
+ from .openrouter_provider import *
5
+ from .tool import *
@@ -8,7 +8,7 @@ from typing import Optional, Any
8
8
  from PIL import Image
9
9
  from openai.types.chat import ChatCompletion
10
10
 
11
- from .llms import LLMModel
11
+ from openrouter.llms import LLMModel
12
12
 
13
13
 
14
14
  class Role(Enum):
@@ -6,10 +6,10 @@ from typing import Iterator, AsyncIterator
6
6
  from dotenv import load_dotenv
7
7
  from pydantic import BaseModel
8
8
 
9
- from .llms import *
10
- from .message import *
11
- from .openrouter_provider import *
12
- from .tool import *
9
+ from openrouter.llms import *
10
+ from openrouter.message import *
11
+ from openrouter.openrouter_provider import *
12
+ from openrouter.tool import *
13
13
 
14
14
 
15
15
  _base_system_prompt = """
@@ -8,9 +8,9 @@ from openai import OpenAI, AsyncOpenAI
8
8
  from openai.types.chat import ChatCompletionChunk
9
9
  from pydantic import BaseModel
10
10
 
11
- from .message import Message, Role, ToolCall
12
- from .tool import tool_model
13
- from .llms import LLMModel
11
+ from openrouter.message import Message, Role, ToolCall
12
+ from openrouter.tool import tool_model
13
+ from openrouter.llms import LLMModel
14
14
 
15
15
 
16
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openrouter-provider
3
- Version: 1.0.1
3
+ Version: 1.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
@@ -0,0 +1,10 @@
1
+ openrouter/__init__.py,sha256=xuIzdm8-l3Tmc-zrNIXTicv05c9HCMxTS9xynKpWK-Q,123
2
+ openrouter/llms.py,sha256=IjG3WgmPDbNR8zvAOYDsZvSZNmDjYfPS4IpdtlI4OI8,3535
3
+ openrouter/message.py,sha256=0q0OYdTl3f1TOx79TJRwPYyFuTxoYI9tSCpQN-N8G-A,2870
4
+ openrouter/openrouter.py,sha256=RK8pln0MK8sdwDCaJs1b1PsyamsmAc-E4OdFQZZaOlE,7897
5
+ openrouter/openrouter_provider.py,sha256=FWyEOM5kJfP7q3RLZdut4XNaU_I4DHrMBskwkRyj4Jg,8051
6
+ openrouter/tool.py,sha256=tUUNLosz1XhzPIwY1zHXWNM3ePs7hcVD1a_W5hWTCWk,1975
7
+ openrouter_provider-1.0.3.dist-info/METADATA,sha256=GhJ1RIhY2XSuK-iTD_N9XbpijF3nbHTO-kKiIR7TYHA,11503
8
+ openrouter_provider-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ openrouter_provider-1.0.3.dist-info/top_level.txt,sha256=0jnlCcRirGeYZLm5ZbWQRUonIp4tTPl_9mq-ds_1SEo,11
10
+ openrouter_provider-1.0.3.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ openrouter
__init__.py DELETED
File without changes
@@ -1,10 +0,0 @@
1
- __init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- llms.py,sha256=IjG3WgmPDbNR8zvAOYDsZvSZNmDjYfPS4IpdtlI4OI8,3535
3
- message.py,sha256=xTPzrgiVd651EeccUoxh5h1Xo4Xhu1VpAnb6NB-p9YY,2860
4
- openrouter.py,sha256=zXa6huZ4QIzJpbk9GeX4fEKJsyYwZN09ZlmbkAef5ik,7857
5
- openrouter_provider.py,sha256=dJe_kPENFfhzC9J7q4XyglpXYq-1KPFIwsgyIdHeml8,8021
6
- tool.py,sha256=tUUNLosz1XhzPIwY1zHXWNM3ePs7hcVD1a_W5hWTCWk,1975
7
- openrouter_provider-1.0.1.dist-info/METADATA,sha256=g4NGzvYX4bY8VU3c9gEAT8XWcfT0itTTY-HiOQVb3o4,11503
8
- openrouter_provider-1.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- openrouter_provider-1.0.1.dist-info/top_level.txt,sha256=P1gRRxgxRCkgKpO2Eru8nR9svmkGy1YlKSVavfrNIFs,58
10
- openrouter_provider-1.0.1.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- __init__
2
- llms
3
- message
4
- openrouter
5
- openrouter_provider
6
- tool
File without changes
File without changes