LLM-Bridge 1.11.0a1__py3-none-any.whl → 1.11.2__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.
@@ -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.BLOCK_NONE,
73
+ threshold=types.HarmBlockThreshold.OFF,
74
74
  ),
75
75
  types.SafetySetting(
76
76
  category=types.HarmCategory.HARM_CATEGORY_DANGEROUS_CONTENT,
77
- threshold=types.HarmBlockThreshold.BLOCK_NONE,
77
+ threshold=types.HarmBlockThreshold.OFF,
78
78
  ),
79
79
  types.SafetySetting(
80
80
  category=types.HarmCategory.HARM_CATEGORY_HARASSMENT,
81
- threshold=types.HarmBlockThreshold.BLOCK_NONE,
81
+ threshold=types.HarmBlockThreshold.OFF,
82
82
  ),
83
83
  types.SafetySetting(
84
84
  category=types.HarmCategory.HARM_CATEGORY_SEXUALLY_EXPLICIT,
85
- threshold=types.HarmBlockThreshold.BLOCK_NONE,
85
+ threshold=types.HarmBlockThreshold.OFF,
86
86
  ),
87
87
  types.SafetySetting(
88
88
  category=types.HarmCategory.HARM_CATEGORY_CIVIC_INTEGRITY,
89
- threshold=types.HarmBlockThreshold.BLOCK_NONE,
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": "Gemini-Free",
88
- "model": "gemini-flash-latest",
89
- "input": 0,
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-sonnet-4-0",
155
- "input": 3,
156
- "output": 15
160
+ "model": "claude-haiku-4-5",
161
+ "input": 1,
162
+ "output": 5
157
163
  },
158
164
  {
159
165
  "apiType": "Claude",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: LLM-Bridge
3
- Version: 1.11.0a1
3
+ Version: 1.11.2
4
4
  Summary: A Bridge for LLMs
5
5
  Author-email: windsnow1025 <windsnow1025@gmail.com>
6
6
  License-Expression: MIT
@@ -32,7 +32,7 @@ llm_bridge/logic/chat_generate/chat_message_converter.py,sha256=40VTBOPXg_ocrEZM
32
32
  llm_bridge/logic/chat_generate/media_processor.py,sha256=ZR8G24EHwZZr2T9iFDRmScDGyJ_kvThApABzSzK0CL0,702
33
33
  llm_bridge/logic/chat_generate/model_client_factory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
34
  llm_bridge/logic/chat_generate/model_client_factory/claude_client_factory.py,sha256=j8RwLDul_zdZIIZfzrJji3VmqnYVAV61Xjrbp4NC69k,2603
35
- llm_bridge/logic/chat_generate/model_client_factory/gemini_client_factory.py,sha256=-sz60KfSpY_rtLDLJdnPW0yeEIa1uqEIHb-tYX3CwCw,3649
35
+ llm_bridge/logic/chat_generate/model_client_factory/gemini_client_factory.py,sha256=ms0v1TnVA_JJFKhOkbF_qHeRJEAZ3SH2QOYUi2w_FBI,3614
36
36
  llm_bridge/logic/chat_generate/model_client_factory/openai_client_factory.py,sha256=uSDkNcUKdyzfJBE_KPq9Uqpt_DpDulluGjUT-iq8li0,4363
37
37
  llm_bridge/logic/chat_generate/model_message_converter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  llm_bridge/logic/chat_generate/model_message_converter/claude_message_converter.py,sha256=SfDhQXR7L5nCPHS4MIjwgzK_wER7qOUCc8gh-K77kKY,2441
@@ -45,7 +45,7 @@ llm_bridge/logic/message_preprocess/document_processor.py,sha256=IsVqoFgWNa9i8cR
45
45
  llm_bridge/logic/message_preprocess/file_type_checker.py,sha256=nkrVki1a2udCeVqUnfIVi7Wxx8OMKbBuHw3FOlm17uo,1603
46
46
  llm_bridge/logic/message_preprocess/message_preprocessor.py,sha256=ERws57Dsu-f5LpWKqJ_SEP7omNWXeGoJaocX91P6QDQ,1907
47
47
  llm_bridge/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
- llm_bridge/resources/model_prices.json,sha256=ymIJYdw17N_BocwIAFdKY0CACSbADaA1vuUPPDJrS68,3341
48
+ llm_bridge/resources/model_prices.json,sha256=-6KjPzsOtqC6EYL-WFTnszoVzrP5GOFJhPX943BNYZU,3440
49
49
  llm_bridge/type/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  llm_bridge/type/chat_response.py,sha256=zEw-my_I0-7msmlTySdBGE2vWUIPILex0UrUPqTJiYY,754
51
51
  llm_bridge/type/message.py,sha256=NyWmSSrciFfvF81aBwAH8qFpo5IpRhh8QXMselbYen8,370
@@ -55,8 +55,8 @@ llm_bridge/type/model_message/claude_message.py,sha256=gYJUTbLUeifQMva3Axarc-VFe
55
55
  llm_bridge/type/model_message/gemini_message.py,sha256=mh8pf929g7_NkBzSOwnLXyrwSzTT4yt2FmyX7NZn0sM,4302
56
56
  llm_bridge/type/model_message/openai_message.py,sha256=xFaLY-cZoSwNd7E9BSWQjBNcRfCVH11X9s2yxXlctR0,453
57
57
  llm_bridge/type/model_message/openai_responses_message.py,sha256=be1q2euA0ybjj4NO6NxOGIRB9eJuXSb4ssUm_bM4Ocs,1529
58
- llm_bridge-1.11.0a1.dist-info/licenses/LICENSE,sha256=m6uon-6P_CaiqcBfApMfjG9YRtDxcr40Z52JcqUCEAE,1069
59
- llm_bridge-1.11.0a1.dist-info/METADATA,sha256=0aoYIiqepHwmwlMr7O7HwGo4oWk-hMmaRCK4WFEcJOA,7851
60
- llm_bridge-1.11.0a1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
61
- llm_bridge-1.11.0a1.dist-info/top_level.txt,sha256=PtxyrgNX1lSa1Ab_qswg0sekSXejG5zrS6b_v3Po05g,11
62
- llm_bridge-1.11.0a1.dist-info/RECORD,,
58
+ llm_bridge-1.11.2.dist-info/licenses/LICENSE,sha256=m6uon-6P_CaiqcBfApMfjG9YRtDxcr40Z52JcqUCEAE,1069
59
+ llm_bridge-1.11.2.dist-info/METADATA,sha256=GeH0Z_IgD9zRenLpq-p7OFYc5JGazD4Lqr5xvBNz9AM,7849
60
+ llm_bridge-1.11.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
61
+ llm_bridge-1.11.2.dist-info/top_level.txt,sha256=PtxyrgNX1lSa1Ab_qswg0sekSXejG5zrS6b_v3Po05g,11
62
+ llm_bridge-1.11.2.dist-info/RECORD,,