LLM-Bridge 1.7.18__py3-none-any.whl → 1.7.19__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.
- llm_bridge/resources/model_prices.json +3 -3
- {llm_bridge-1.7.18.dist-info → llm_bridge-1.7.19.dist-info}/METADATA +6 -5
- {llm_bridge-1.7.18.dist-info → llm_bridge-1.7.19.dist-info}/RECORD +6 -6
- {llm_bridge-1.7.18.dist-info → llm_bridge-1.7.19.dist-info}/WHEEL +0 -0
- {llm_bridge-1.7.18.dist-info → llm_bridge-1.7.19.dist-info}/licenses/LICENSE +0 -0
- {llm_bridge-1.7.18.dist-info → llm_bridge-1.7.19.dist-info}/top_level.txt +0 -0
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"input": 1.25,
|
|
18
18
|
"output": 10
|
|
19
19
|
},
|
|
20
|
-
|
|
20
|
+
{
|
|
21
21
|
"apiType": "OpenAI",
|
|
22
22
|
"model": "gpt-5",
|
|
23
23
|
"input": 1.25,
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
"apiType": "Gemini-Free",
|
|
94
|
-
"model": "gemini-2.
|
|
94
|
+
"model": "gemini-2.5-flash-image-preview",
|
|
95
95
|
"input": 0,
|
|
96
96
|
"output": 0
|
|
97
97
|
},
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
"apiType": "Gemini-Paid",
|
|
112
|
-
"model": "gemini-2.
|
|
112
|
+
"model": "gemini-2.5-flash-image-preview",
|
|
113
113
|
"input": 0.7,
|
|
114
114
|
"output": 0.4
|
|
115
115
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: LLM-Bridge
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.19
|
|
4
4
|
Summary: A Bridge for LLMs
|
|
5
5
|
Author-email: windsnow1025 <windsnow1025@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -74,12 +74,13 @@ pytest
|
|
|
74
74
|
|
|
75
75
|
### Setup
|
|
76
76
|
|
|
77
|
-
1. Copy
|
|
77
|
+
1. Copy `./usage/.env.example` and rename it to `./usage/.env`, then fill in the environment variables.
|
|
78
78
|
2. Install requirements: `pip install -r requirements.txt`
|
|
79
|
+
3. In PyCharm, add a new Python configuration:
|
|
80
|
+
- script: `./usage/main.py`
|
|
81
|
+
- Paths to ".env" files: `./usage/.env`
|
|
79
82
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
See `./usage/`
|
|
83
|
+
## Workflow
|
|
83
84
|
|
|
84
85
|
```python
|
|
85
86
|
from typing import AsyncGenerator
|
|
@@ -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=
|
|
48
|
+
llm_bridge/resources/model_prices.json,sha256=k6nByDUfqXhGMMIc9BU6nwvqoLaSGZNVyZCwf85Eh9U,2707
|
|
49
49
|
llm_bridge/type/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
50
50
|
llm_bridge/type/chat_response.py,sha256=nNAgcWeMBV14VKTMTxWuChgv4zYqy-mVi4Xq9tqV7uE,410
|
|
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.7.
|
|
59
|
-
llm_bridge-1.7.
|
|
60
|
-
llm_bridge-1.7.
|
|
61
|
-
llm_bridge-1.7.
|
|
62
|
-
llm_bridge-1.7.
|
|
58
|
+
llm_bridge-1.7.19.dist-info/licenses/LICENSE,sha256=m6uon-6P_CaiqcBfApMfjG9YRtDxcr40Z52JcqUCEAE,1069
|
|
59
|
+
llm_bridge-1.7.19.dist-info/METADATA,sha256=BboXcLyZTLkh10cyRtlhcgyFviswLJUcZm4_TSJGJKY,7505
|
|
60
|
+
llm_bridge-1.7.19.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
61
|
+
llm_bridge-1.7.19.dist-info/top_level.txt,sha256=PtxyrgNX1lSa1Ab_qswg0sekSXejG5zrS6b_v3Po05g,11
|
|
62
|
+
llm_bridge-1.7.19.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|