LLM-Bridge 1.11.0a1__tar.gz → 1.11.2__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-1.11.0a1 → llm_bridge-1.11.2/LLM_Bridge.egg-info}/PKG-INFO +1 -1
- {llm_bridge-1.11.0a1/LLM_Bridge.egg-info → llm_bridge-1.11.2}/PKG-INFO +1 -1
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/model_client_factory/gemini_client_factory.py +5 -5
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/resources/model_prices.json +72 -66
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/pyproject.toml +1 -1
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/LICENSE +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/LLM_Bridge.egg-info/SOURCES.txt +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/LLM_Bridge.egg-info/dependency_links.txt +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/LLM_Bridge.egg-info/requires.txt +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/LLM_Bridge.egg-info/top_level.txt +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/MANIFEST.in +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/README.md +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/chat_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/claude/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/claude/claude_stream_response_handler.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/claude/claude_token_counter.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/claude/non_stream_claude_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/claude/stream_claude_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/gemini/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/gemini/gemini_response_handler.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/gemini/gemini_token_counter.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/gemini/non_stream_gemini_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/gemini/stream_gemini_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/openai/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/openai/non_stream_openai_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/openai/non_stream_openai_responses_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/openai/openai_token_couter.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/openai/steam_openai_responses_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/openai/stream_openai_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/printing_status.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/model_client/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/model_client/claude_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/model_client/gemini_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/model_client/openai_client.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/chat_client_factory.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/chat_message_converter.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/media_processor.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/model_client_factory/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/model_client_factory/claude_client_factory.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/model_client_factory/openai_client_factory.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/model_message_converter/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/model_message_converter/claude_message_converter.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/model_message_converter/gemini_message_converter.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/model_message_converter/openai_message_converter.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/model_message_converter/openai_responses_message_converter.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/file_fetch.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/message_preprocess/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/message_preprocess/code_file_extensions.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/message_preprocess/document_processor.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/message_preprocess/file_type_checker.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/message_preprocess/message_preprocessor.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/model_prices.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/resources/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/type/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/type/chat_response.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/type/message.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/type/model_message/__init__.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/type/model_message/claude_message.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/type/model_message/gemini_message.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/type/model_message/openai_message.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/type/model_message/openai_responses_message.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/type/serializer.py +0 -0
- {llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/setup.cfg +0 -0
|
@@ -70,23 +70,23 @@ async def create_gemini_client(
|
|
|
70
70
|
safety_settings=[
|
|
71
71
|
types.SafetySetting(
|
|
72
72
|
category=types.HarmCategory.HARM_CATEGORY_HATE_SPEECH,
|
|
73
|
-
threshold=types.HarmBlockThreshold.
|
|
73
|
+
threshold=types.HarmBlockThreshold.OFF,
|
|
74
74
|
),
|
|
75
75
|
types.SafetySetting(
|
|
76
76
|
category=types.HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT,
|
|
77
|
-
threshold=types.HarmBlockThreshold.
|
|
77
|
+
threshold=types.HarmBlockThreshold.OFF,
|
|
78
78
|
),
|
|
79
79
|
types.SafetySetting(
|
|
80
80
|
category=types.HarmCategory.HARM_CATEGORY_HARASSMENT,
|
|
81
|
-
threshold=types.HarmBlockThreshold.
|
|
81
|
+
threshold=types.HarmBlockThreshold.OFF,
|
|
82
82
|
),
|
|
83
83
|
types.SafetySetting(
|
|
84
84
|
category=types.HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT,
|
|
85
|
-
threshold=types.HarmBlockThreshold.
|
|
85
|
+
threshold=types.HarmBlockThreshold.OFF,
|
|
86
86
|
),
|
|
87
87
|
types.SafetySetting(
|
|
88
88
|
category=types.HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY,
|
|
89
|
-
threshold=types.HarmBlockThreshold.
|
|
89
|
+
threshold=types.HarmBlockThreshold.OFF,
|
|
90
90
|
),
|
|
91
91
|
],
|
|
92
92
|
tools=tools,
|
|
@@ -1,4 +1,70 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"apiType": "Gemini-Vertex",
|
|
4
|
+
"model": "gemini-2.5-flash",
|
|
5
|
+
"input": 1,
|
|
6
|
+
"output": 2.5
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"apiType": "Gemini-Vertex",
|
|
10
|
+
"model": "gemini-2.5-pro",
|
|
11
|
+
"input": 2.5,
|
|
12
|
+
"output": 15
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"apiType": "Gemini-Vertex",
|
|
16
|
+
"model": "gemini-2.5-flash-image",
|
|
17
|
+
"input": 1.0,
|
|
18
|
+
"output": 2.5
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"apiType": "Gemini-Free",
|
|
22
|
+
"model": "gemini-flash-latest",
|
|
23
|
+
"input": 0,
|
|
24
|
+
"output": 0
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"apiType": "Gemini-Free",
|
|
28
|
+
"model": "gemini-2.5-flash",
|
|
29
|
+
"input": 0,
|
|
30
|
+
"output": 0
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"apiType": "Gemini-Free",
|
|
34
|
+
"model": "gemini-2.5-pro",
|
|
35
|
+
"input": 0,
|
|
36
|
+
"output": 0
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"apiType": "Gemini-Free",
|
|
40
|
+
"model": "gemini-2.5-flash-image-preview",
|
|
41
|
+
"input": 0,
|
|
42
|
+
"output": 0
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"apiType": "Gemini-Paid",
|
|
46
|
+
"model": "gemini-flash-latest",
|
|
47
|
+
"input": 1,
|
|
48
|
+
"output": 2.5
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"apiType": "Gemini-Paid",
|
|
52
|
+
"model": "gemini-2.5-flash",
|
|
53
|
+
"input": 1,
|
|
54
|
+
"output": 2.5
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"apiType": "Gemini-Paid",
|
|
58
|
+
"model": "gemini-2.5-pro",
|
|
59
|
+
"input": 2.5,
|
|
60
|
+
"output": 15
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"apiType": "Gemini-Paid",
|
|
64
|
+
"model": "gemini-2.5-flash-image",
|
|
65
|
+
"input": 1.0,
|
|
66
|
+
"output": 2.5
|
|
67
|
+
},
|
|
2
68
|
{
|
|
3
69
|
"apiType": "OpenAI",
|
|
4
70
|
"model": "gpt-5-chat-latest",
|
|
@@ -84,76 +150,16 @@
|
|
|
84
150
|
"output": 0
|
|
85
151
|
},
|
|
86
152
|
{
|
|
87
|
-
"apiType": "
|
|
88
|
-
"model": "
|
|
89
|
-
"input":
|
|
90
|
-
"output": 0
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"apiType": "Gemini-Free",
|
|
94
|
-
"model": "gemini-2.5-flash",
|
|
95
|
-
"input": 0,
|
|
96
|
-
"output": 0
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"apiType": "Gemini-Free",
|
|
100
|
-
"model": "gemini-2.5-pro",
|
|
101
|
-
"input": 0,
|
|
102
|
-
"output": 0
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"apiType": "Gemini-Free",
|
|
106
|
-
"model": "gemini-2.5-flash-image-preview",
|
|
107
|
-
"input": 0,
|
|
108
|
-
"output": 0
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"apiType": "Gemini-Paid",
|
|
112
|
-
"model": "gemini-flash-latest",
|
|
113
|
-
"input": 1,
|
|
114
|
-
"output": 2.5
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"apiType": "Gemini-Paid",
|
|
118
|
-
"model": "gemini-2.5-flash",
|
|
119
|
-
"input": 1,
|
|
120
|
-
"output": 2.5
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"apiType": "Gemini-Paid",
|
|
124
|
-
"model": "gemini-2.5-pro",
|
|
125
|
-
"input": 2.5,
|
|
126
|
-
"output": 15
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"apiType": "Gemini-Paid",
|
|
130
|
-
"model": "gemini-2.5-flash-image",
|
|
131
|
-
"input": 1.0,
|
|
132
|
-
"output": 2.5
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"apiType": "Gemini-Vertex",
|
|
136
|
-
"model": "gemini-2.5-flash",
|
|
137
|
-
"input": 1,
|
|
138
|
-
"output": 2.5
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"apiType": "Gemini-Vertex",
|
|
142
|
-
"model": "gemini-2.5-pro",
|
|
143
|
-
"input": 2.5,
|
|
153
|
+
"apiType": "Claude",
|
|
154
|
+
"model": "claude-sonnet-4-5",
|
|
155
|
+
"input": 3,
|
|
144
156
|
"output": 15
|
|
145
157
|
},
|
|
146
|
-
{
|
|
147
|
-
"apiType": "Gemini-Vertex",
|
|
148
|
-
"model": "gemini-2.5-flash-image",
|
|
149
|
-
"input": 1.0,
|
|
150
|
-
"output": 2.5
|
|
151
|
-
},
|
|
152
158
|
{
|
|
153
159
|
"apiType": "Claude",
|
|
154
|
-
"model": "claude-
|
|
155
|
-
"input":
|
|
156
|
-
"output":
|
|
160
|
+
"model": "claude-haiku-4-5",
|
|
161
|
+
"input": 1,
|
|
162
|
+
"output": 5
|
|
157
163
|
},
|
|
158
164
|
{
|
|
159
165
|
"apiType": "Claude",
|
|
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-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/claude/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/gemini/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/openai/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/client/implementations/printing_status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/chat_generate/chat_client_factory.py
RENAMED
|
File without changes
|
{llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/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
|
{llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/message_preprocess/document_processor.py
RENAMED
|
File without changes
|
{llm_bridge-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/logic/message_preprocess/file_type_checker.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-1.11.0a1 → llm_bridge-1.11.2}/llm_bridge/type/model_message/openai_responses_message.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|