LLM-Bridge 1.7.13__tar.gz → 1.7.15__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.7.13 → llm_bridge-1.7.15/LLM_Bridge.egg-info}/PKG-INFO +1 -1
- {llm_bridge-1.7.13/LLM_Bridge.egg-info → llm_bridge-1.7.15}/PKG-INFO +1 -1
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/model_client_factory/openai_client_factory.py +9 -7
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/resources/model_prices.json +25 -1
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/pyproject.toml +1 -1
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/LICENSE +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/LLM_Bridge.egg-info/SOURCES.txt +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/LLM_Bridge.egg-info/dependency_links.txt +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/LLM_Bridge.egg-info/requires.txt +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/LLM_Bridge.egg-info/top_level.txt +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/MANIFEST.in +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/README.md +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/chat_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/claude/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/claude/claude_stream_response_handler.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/claude/claude_token_counter.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/claude/non_stream_claude_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/claude/stream_claude_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/gemini/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/gemini/gemini_response_handler.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/gemini/gemini_token_counter.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/gemini/non_stream_gemini_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/gemini/stream_gemini_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/openai/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/openai/non_stream_openai_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/openai/non_stream_openai_responses_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/openai/openai_token_couter.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/openai/steam_openai_responses_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/openai/stream_openai_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/implementations/printing_status.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/model_client/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/model_client/claude_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/model_client/gemini_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/client/model_client/openai_client.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/chat_client_factory.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/chat_message_converter.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/media_processor.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/model_client_factory/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/model_client_factory/claude_client_factory.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/model_client_factory/gemini_client_factory.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/model_message_converter/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/model_message_converter/claude_message_converter.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/model_message_converter/gemini_message_converter.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/model_message_converter/openai_message_converter.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/model_message_converter/openai_responses_message_converter.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/file_fetch.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/message_preprocess/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/message_preprocess/code_file_extensions.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/message_preprocess/document_processor.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/message_preprocess/file_type_checker.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/message_preprocess/message_preprocessor.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/model_prices.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/resources/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/type/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/type/chat_response.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/type/message.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/type/model_message/__init__.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/type/model_message/claude_message.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/type/model_message/gemini_message.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/type/model_message/openai_message.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/type/model_message/openai_responses_message.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/type/serializer.py +0 -0
- {llm_bridge-1.7.13 → llm_bridge-1.7.15}/setup.cfg +0 -0
|
@@ -54,16 +54,18 @@ async def create_openai_client(
|
|
|
54
54
|
else:
|
|
55
55
|
openai_messages = await convert_messages_to_openai(messages)
|
|
56
56
|
|
|
57
|
+
tools = [
|
|
58
|
+
WebSearchToolParam(
|
|
59
|
+
type="web_search_preview",
|
|
60
|
+
search_context_size="high",
|
|
61
|
+
)
|
|
62
|
+
]
|
|
63
|
+
|
|
57
64
|
if re.match(r"^o\d", model):
|
|
58
65
|
tools = None
|
|
59
66
|
temperature = 1
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
WebSearchToolParam(
|
|
63
|
-
type="web_search_preview",
|
|
64
|
-
search_context_size="high",
|
|
65
|
-
)
|
|
66
|
-
]
|
|
67
|
+
elif re.match(r"gpt-5.*", model):
|
|
68
|
+
temperature = 1
|
|
67
69
|
|
|
68
70
|
if use_responses_api:
|
|
69
71
|
if stream:
|
|
@@ -1,4 +1,28 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"apiType": "OpenAI",
|
|
4
|
+
"model": "gpt-5",
|
|
5
|
+
"input": 1.25,
|
|
6
|
+
"output": 10
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"apiType": "OpenAI",
|
|
10
|
+
"model": "gpt-5-mini",
|
|
11
|
+
"input": 0.25,
|
|
12
|
+
"output": 2
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"apiType": "OpenAI",
|
|
16
|
+
"model": "gpt-5-nano",
|
|
17
|
+
"input": 0.05,
|
|
18
|
+
"output": 0.4
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"apiType": "OpenAI",
|
|
22
|
+
"model": "gpt-5-chat-latest",
|
|
23
|
+
"input": 1.25,
|
|
24
|
+
"output": 10
|
|
25
|
+
},
|
|
2
26
|
{
|
|
3
27
|
"apiType": "OpenAI",
|
|
4
28
|
"model": "gpt-4.1",
|
|
@@ -97,7 +121,7 @@
|
|
|
97
121
|
},
|
|
98
122
|
{
|
|
99
123
|
"apiType": "Claude",
|
|
100
|
-
"model": "claude-opus-4-
|
|
124
|
+
"model": "claude-opus-4-1",
|
|
101
125
|
"input": 15,
|
|
102
126
|
"output": 75
|
|
103
127
|
},
|
|
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.7.13 → llm_bridge-1.7.15}/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.7.13 → llm_bridge-1.7.15}/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.7.13 → llm_bridge-1.7.15}/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.7.13 → llm_bridge-1.7.15}/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.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/chat_generate/chat_client_factory.py
RENAMED
|
File without changes
|
{llm_bridge-1.7.13 → llm_bridge-1.7.15}/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
|
{llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/message_preprocess/code_file_extensions.py
RENAMED
|
File without changes
|
{llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/message_preprocess/document_processor.py
RENAMED
|
File without changes
|
{llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/message_preprocess/file_type_checker.py
RENAMED
|
File without changes
|
{llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/logic/message_preprocess/message_preprocessor.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
|
{llm_bridge-1.7.13 → llm_bridge-1.7.15}/llm_bridge/type/model_message/openai_responses_message.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|