LLM-Bridge 2.3.1__tar.gz → 2.3.3__tar.gz
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.
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/PKG-INFO +1 -1
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_client_factory/claude_client_factory.py +1 -1
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_client_factory/openai_responses_client_factory.py +1 -1
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/resources/model_prices.json +14 -2
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/pyproject.toml +1 -1
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/single/config.py +4 -4
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/uv.lock +1 -1
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/.gitattributes +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/.github/workflows/pypi-publish.yaml +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/.github/workflows/python-test.yaml +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/.gitignore +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/.run/batch.run.xml +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/.run/pytest.run.xml +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/.run/single.run.xml +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/LICENSE +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/README.md +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/chat_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/claude/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/claude/claude_response_handler.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/claude/claude_token_counter.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/claude/non_stream_claude_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/claude/stream_claude_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/gemini/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/gemini/gemini_response_handler.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/gemini/gemini_token_counter.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/gemini/non_stream_gemini_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/gemini/stream_gemini_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/http_error.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/openai_completion/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/openai_completion/non_stream_openai_completion_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/openai_completion/stream_openai_completion_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/openai_responses/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/openai_responses/non_stream_openai_responses_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/openai_responses/openai_responses_response_handler.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/openai_responses/stream_openai_responses_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/xai/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/xai/non_stream_xai_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/xai/stream_xai_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/model_client/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/model_client/claude_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/model_client/gemini_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/model_client/openai_completion_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/model_client/openai_responses_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/model_client/xai_client.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/chat_client_factory.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/chat_message_converter.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/media_processor.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_client_factory/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_client_factory/gemini_client_factory.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_client_factory/openai_completion_client_factory.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_client_factory/xai_client_factory.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_message_converter/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_message_converter/claude_message_converter.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_message_converter/gemini_message_converter.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_message_converter/openai_completion_message_converter.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_message_converter/openai_responses_message_converter.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/model_message_converter/xai_message_converter.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/file_fetch.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/message_process/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/message_process/code_file_extensions.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/message_process/document_processor.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/message_process/file_type_checker.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/message_process/message_processor.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/model_prices.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/resources/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/chat_response.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/message.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/model_message/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/model_message/claude_message.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/model_message/gemini_message.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/model_message/openai_completion_message.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/model_message/openai_responses_message.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/model_message/xai_message.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/serializer.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/chat_generate/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/chat_generate/model_message_converter/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/chat_generate/model_message_converter/claude_message_converter_test.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/chat_generate/model_message_converter/gemini_message_converter_test.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/chat_generate/model_message_converter/message_factory.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/chat_generate/model_message_converter/openai_completion_message_converter_test.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/chat_generate/model_message_converter/openai_responses_message_converter_test.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/chat_generate/model_message_converter/xai_message_converter_test.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/message_process/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/message_process/file_type_checker_test.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/model_prices_test.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/.env.example +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/batch/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/batch/batch.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/batch/config.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/keys.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/messages.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/single/__init__.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/single/single.py +0 -0
- {llm_bridge-2.3.1 → llm_bridge-2.3.3}/usage/workflow.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: LLM-Bridge
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.3
|
|
4
4
|
Summary: A library that wraps multiple LLM providers into a consistent API while using each provider's native SDK internally, supporting multimodal I/O, file processing, and stream output.
|
|
5
5
|
Author-email: windsnow1025 <windsnow1025@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -63,7 +63,7 @@ async def create_claude_client(
|
|
|
63
63
|
|
|
64
64
|
betas: list[AnthropicBetaParam] | Omit = omit
|
|
65
65
|
speed: Literal["standard", "fast"] | Omit = omit
|
|
66
|
-
if model in ["claude-opus-5-5"]:
|
|
66
|
+
if model in ["claude-opus-5-5", "claude-fable-5-2"]:
|
|
67
67
|
betas = ["fast-mode-2026-02-01"]
|
|
68
68
|
speed = "fast"
|
|
69
69
|
|
|
@@ -94,7 +94,7 @@ async def create_openai_responses_client(
|
|
|
94
94
|
if api_type == "OpenAI":
|
|
95
95
|
if model in ["gpt-6-astra", "gpt-6.1-sol"]:
|
|
96
96
|
service_tier = "ultrafast"
|
|
97
|
-
elif model in ["gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-4.1"]:
|
|
97
|
+
elif model in ["gpt-6.1-terra", "gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-4.1"]:
|
|
98
98
|
service_tier = "fast"
|
|
99
99
|
|
|
100
100
|
if stream:
|
|
@@ -71,6 +71,12 @@
|
|
|
71
71
|
"input": 24,
|
|
72
72
|
"output": 90
|
|
73
73
|
},
|
|
74
|
+
{
|
|
75
|
+
"apiType": "OpenAI",
|
|
76
|
+
"model": "gpt-6.1-terra",
|
|
77
|
+
"input": 4,
|
|
78
|
+
"output": 15
|
|
79
|
+
},
|
|
74
80
|
{
|
|
75
81
|
"apiType": "OpenAI",
|
|
76
82
|
"model": "gpt-5.6-sol",
|
|
@@ -107,11 +113,17 @@
|
|
|
107
113
|
"input": 3.5,
|
|
108
114
|
"output": 14
|
|
109
115
|
},
|
|
116
|
+
{
|
|
117
|
+
"apiType": "Claude",
|
|
118
|
+
"model": "claude-fable-5-2",
|
|
119
|
+
"input": 16,
|
|
120
|
+
"output": 80
|
|
121
|
+
},
|
|
110
122
|
{
|
|
111
123
|
"apiType": "Claude",
|
|
112
124
|
"model": "claude-fable-5-1",
|
|
113
|
-
"input":
|
|
114
|
-
"output":
|
|
125
|
+
"input": 8,
|
|
126
|
+
"output": 40
|
|
115
127
|
},
|
|
116
128
|
{
|
|
117
129
|
"apiType": "Claude",
|
|
@@ -165,21 +165,21 @@ messages = [
|
|
|
165
165
|
# model = "gpt-5.6-luna"
|
|
166
166
|
# model = "gpt-4.1"
|
|
167
167
|
# model = "gpt-audio-1.5"
|
|
168
|
-
model = "gemini-4-argon"
|
|
168
|
+
# model = "gemini-4-argon"
|
|
169
169
|
# model = "gemini-3.1-pro-preview"
|
|
170
170
|
# model = "gemini-3-pro-image"
|
|
171
171
|
# model = "gemini-3.1-flash-image"
|
|
172
172
|
# model = "gemini-3.5-flash"
|
|
173
|
-
|
|
173
|
+
model = "claude-fable-5-2"
|
|
174
174
|
# model = "claude-opus-4-6"
|
|
175
175
|
# model = "grok-4.6"
|
|
176
176
|
|
|
177
177
|
# api_type = "Vertex AI"
|
|
178
178
|
# api_type = "Google AI Studio Free Tier"
|
|
179
|
-
api_type = "Google AI Studio"
|
|
179
|
+
# api_type = "Google AI Studio"
|
|
180
180
|
# api_type = "OpenAI"
|
|
181
181
|
# api_type = "OpenAI-Azure"
|
|
182
|
-
|
|
182
|
+
api_type = "Claude"
|
|
183
183
|
# api_type = "Grok"
|
|
184
184
|
|
|
185
185
|
temperature = 0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/openai_responses/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/xai/non_stream_xai_client.py
RENAMED
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/implementations/xai/stream_xai_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/model_client/openai_completion_client.py
RENAMED
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/client/model_client/openai_responses_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/chat_generate/chat_message_converter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/message_process/code_file_extensions.py
RENAMED
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/logic/message_process/document_processor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/model_message/openai_completion_message.py
RENAMED
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/llm_bridge/type/model_message/openai_responses_message.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-2.3.1 → llm_bridge-2.3.3}/tests/logic/chat_generate/model_message_converter/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|