LLM-Bridge 1.15.6__py3-none-any.whl → 1.15.7__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/logic/message_preprocess/file_type_checker.py +3 -3
- {llm_bridge-1.15.6.dist-info → llm_bridge-1.15.7.dist-info}/METADATA +2 -8
- {llm_bridge-1.15.6.dist-info → llm_bridge-1.15.7.dist-info}/RECORD +5 -5
- {llm_bridge-1.15.6.dist-info → llm_bridge-1.15.7.dist-info}/WHEEL +0 -0
- {llm_bridge-1.15.6.dist-info → llm_bridge-1.15.7.dist-info}/licenses/LICENSE +0 -0
|
@@ -15,11 +15,11 @@ def is_file_type_supported(file_name: str) -> bool:
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
async def get_file_type(file_url: str) -> tuple[str, str]:
|
|
18
|
-
file_name = get_filename_without_timestamp(file_url)
|
|
18
|
+
file_name: str = get_filename_without_timestamp(file_url)
|
|
19
19
|
|
|
20
20
|
# Treat filenames without an extension as their own extension
|
|
21
|
-
suffix = PurePosixPath(file_name).suffix.lower()
|
|
22
|
-
file_extension = suffix if suffix else '.' + file_name.lower()
|
|
21
|
+
suffix: str = PurePosixPath(file_name).suffix.lower()
|
|
22
|
+
file_extension: str = suffix if suffix else '.' + file_name.lower()
|
|
23
23
|
|
|
24
24
|
if file_extension in code_file_extensions:
|
|
25
25
|
return 'text', 'code'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: LLM-Bridge
|
|
3
|
-
Version: 1.15.
|
|
3
|
+
Version: 1.15.7
|
|
4
4
|
Summary: A Bridge for LLMs
|
|
5
5
|
Author-email: windsnow1025 <windsnow1025@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -24,7 +24,7 @@ Description-Content-Type: text/markdown
|
|
|
24
24
|
|
|
25
25
|
# LLM Bridge
|
|
26
26
|
|
|
27
|
-
LLM Bridge is a unified Python interface for
|
|
27
|
+
LLM Bridge is a unified Python interface for native interactions with various LLM providers.
|
|
28
28
|
|
|
29
29
|
GitHub: [https://github.com/windsnow1025/LLM-Bridge](https://github.com/windsnow1025/LLM-Bridge)
|
|
30
30
|
|
|
@@ -81,12 +81,6 @@ The features listed represent the maximum capabilities of each API type supporte
|
|
|
81
81
|
|
|
82
82
|
Copy `./usage/.env.example` and rename it to `./usage/.env`, then fill in the environment variables.
|
|
83
83
|
|
|
84
|
-
### Test
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
uv run pytest
|
|
88
|
-
```
|
|
89
|
-
|
|
90
84
|
### Build
|
|
91
85
|
|
|
92
86
|
```bash
|
|
@@ -44,7 +44,7 @@ llm_bridge/logic/chat_generate/model_message_converter/openai_responses_message_
|
|
|
44
44
|
llm_bridge/logic/message_preprocess/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
45
|
llm_bridge/logic/message_preprocess/code_file_extensions.py,sha256=5bsnSKC9PGbl6ZMy80sXfagAbz77pGjt6Z2-qwzUw48,9306
|
|
46
46
|
llm_bridge/logic/message_preprocess/document_processor.py,sha256=IsVqoFgWNa9i8cRsDAfmCynJMdlvBqiCKIT9kbx96kg,2861
|
|
47
|
-
llm_bridge/logic/message_preprocess/file_type_checker.py,sha256=
|
|
47
|
+
llm_bridge/logic/message_preprocess/file_type_checker.py,sha256=k4q9KGdaOV_TFDmZLeiBYBhRD8QeY4bqtaXZGbk_bzM,1733
|
|
48
48
|
llm_bridge/logic/message_preprocess/message_preprocessor.py,sha256=ECKHF6BHsucs7QZ8b4WgPDX9vKseziHSK7jaIBB9NgM,1979
|
|
49
49
|
llm_bridge/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
50
50
|
llm_bridge/resources/model_prices.json,sha256=dgjdMXcm0JxTZgcfVsJ8dbYnwtVmMBu84aUkp4sDyGw,2674
|
|
@@ -57,7 +57,7 @@ llm_bridge/type/model_message/claude_message.py,sha256=gYJUTbLUeifQMva3Axarc-VFe
|
|
|
57
57
|
llm_bridge/type/model_message/gemini_message.py,sha256=mh8pf929g7_NkBzSOwnLXyrwSzTT4yt2FmyX7NZn0sM,4302
|
|
58
58
|
llm_bridge/type/model_message/openai_message.py,sha256=xFaLY-cZoSwNd7E9BSWQjBNcRfCVH11X9s2yxXlctR0,453
|
|
59
59
|
llm_bridge/type/model_message/openai_responses_message.py,sha256=be1q2euA0ybjj4NO6NxOGIRB9eJuXSb4ssUm_bM4Ocs,1529
|
|
60
|
-
llm_bridge-1.15.
|
|
61
|
-
llm_bridge-1.15.
|
|
62
|
-
llm_bridge-1.15.
|
|
63
|
-
llm_bridge-1.15.
|
|
60
|
+
llm_bridge-1.15.7.dist-info/METADATA,sha256=WZX8QphxFPKqevUGltMA97_nUryJzRGp0_ho9aoOGVw,3314
|
|
61
|
+
llm_bridge-1.15.7.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
62
|
+
llm_bridge-1.15.7.dist-info/licenses/LICENSE,sha256=m6uon-6P_CaiqcBfApMfjG9YRtDxcr40Z52JcqUCEAE,1069
|
|
63
|
+
llm_bridge-1.15.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|