LLM-Bridge 1.15.1__py3-none-any.whl → 1.15.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.
- llm_bridge/logic/chat_generate/model_client_factory/openai_client_factory.py +2 -1
- llm_bridge/resources/model_prices.json +18 -0
- {llm_bridge-1.15.1.dist-info → llm_bridge-1.15.2.dist-info}/METADATA +1 -1
- {llm_bridge-1.15.1.dist-info → llm_bridge-1.15.2.dist-info}/RECORD +6 -6
- {llm_bridge-1.15.1.dist-info → llm_bridge-1.15.2.dist-info}/WHEEL +0 -0
- {llm_bridge-1.15.1.dist-info → llm_bridge-1.15.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -65,7 +65,7 @@ async def create_openai_client(
|
|
|
65
65
|
tools = []
|
|
66
66
|
reasoning = None
|
|
67
67
|
|
|
68
|
-
if model not in ["gpt-5-pro", "gpt-5.2-pro"]:
|
|
68
|
+
if model not in ["gpt-5-pro", "gpt-5.2-pro"] and "codex" not in model:
|
|
69
69
|
if code_execution:
|
|
70
70
|
tools.append(
|
|
71
71
|
CodeInterpreter(
|
|
@@ -87,6 +87,7 @@ async def create_openai_client(
|
|
|
87
87
|
effort="high",
|
|
88
88
|
summary="auto",
|
|
89
89
|
)
|
|
90
|
+
if re.match(r"gpt-5.*", model) and "codex" not in model:
|
|
90
91
|
tools.append(
|
|
91
92
|
ImageGeneration(
|
|
92
93
|
type="image_generation",
|
|
@@ -59,12 +59,30 @@
|
|
|
59
59
|
"input": 1.25,
|
|
60
60
|
"output": 10
|
|
61
61
|
},
|
|
62
|
+
{
|
|
63
|
+
"apiType": "OpenAI",
|
|
64
|
+
"model": "gpt-5.1-codex-max",
|
|
65
|
+
"input": 1.25,
|
|
66
|
+
"output": 10
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"apiType": "OpenAI",
|
|
70
|
+
"model": "gpt-5.1-codex",
|
|
71
|
+
"input": 1.25,
|
|
72
|
+
"output": 10
|
|
73
|
+
},
|
|
62
74
|
{
|
|
63
75
|
"apiType": "OpenAI",
|
|
64
76
|
"model": "gpt-5",
|
|
65
77
|
"input": 1.25,
|
|
66
78
|
"output": 10
|
|
67
79
|
},
|
|
80
|
+
{
|
|
81
|
+
"apiType": "OpenAI",
|
|
82
|
+
"model": "gpt-5-codex",
|
|
83
|
+
"input": 1.25,
|
|
84
|
+
"output": 10
|
|
85
|
+
},
|
|
68
86
|
{
|
|
69
87
|
"apiType": "OpenAI",
|
|
70
88
|
"model": "gpt-5-mini",
|
|
@@ -33,7 +33,7 @@ llm_bridge/logic/chat_generate/media_processor.py,sha256=icl2kX-2SBFt09fjQ5tpmzn
|
|
|
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=mlGcCPnSqu8KBzD-Yl4Qtsw5L_2TE2ezuL9NcD-iYIY,3815
|
|
35
35
|
llm_bridge/logic/chat_generate/model_client_factory/gemini_client_factory.py,sha256=6CuacST1bLUGhY-rGH0bm5tu3r9iQQhIweN32TgqLCc,3692
|
|
36
|
-
llm_bridge/logic/chat_generate/model_client_factory/openai_client_factory.py,sha256=
|
|
36
|
+
llm_bridge/logic/chat_generate/model_client_factory/openai_client_factory.py,sha256=NNLlqZXgVWFRGDlQkuMMy4hnfDRc7aL-IiKnTtT3A2w,4975
|
|
37
37
|
llm_bridge/logic/chat_generate/model_client_factory/schema_converter.py,sha256=kQ3RGyg_9vbe7oYzbl11Dzu-tHPY1z2-SBBSgHHwPfM,143
|
|
38
38
|
llm_bridge/logic/chat_generate/model_message_converter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
39
|
llm_bridge/logic/chat_generate/model_message_converter/claude_message_converter.py,sha256=YiPqMkybCXrsAJOFcUfPOHXdMkn3mZxq7gft_W449dA,2439
|
|
@@ -46,7 +46,7 @@ llm_bridge/logic/message_preprocess/document_processor.py,sha256=IsVqoFgWNa9i8cR
|
|
|
46
46
|
llm_bridge/logic/message_preprocess/file_type_checker.py,sha256=nkrVki1a2udCeVqUnfIVi7Wxx8OMKbBuHw3FOlm17uo,1603
|
|
47
47
|
llm_bridge/logic/message_preprocess/message_preprocessor.py,sha256=VR4__ip4ytAo62DHn9HeeYdbcx5lWItBnKsm9l3gmY4,1924
|
|
48
48
|
llm_bridge/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
|
-
llm_bridge/resources/model_prices.json,sha256=
|
|
49
|
+
llm_bridge/resources/model_prices.json,sha256=WSTvAlTJm_gzGHysE1ma1pXtVt4ppJrtPdb2R2ZbHxA,2674
|
|
50
50
|
llm_bridge/type/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
51
51
|
llm_bridge/type/chat_response.py,sha256=6sz6g4Ns720Q-k6-7YYqrT2mANArKng4Svc8WxCP6I8,483
|
|
52
52
|
llm_bridge/type/message.py,sha256=NyWmSSrciFfvF81aBwAH8qFpo5IpRhh8QXMselbYen8,370
|
|
@@ -56,7 +56,7 @@ llm_bridge/type/model_message/claude_message.py,sha256=gYJUTbLUeifQMva3Axarc-VFe
|
|
|
56
56
|
llm_bridge/type/model_message/gemini_message.py,sha256=mh8pf929g7_NkBzSOwnLXyrwSzTT4yt2FmyX7NZn0sM,4302
|
|
57
57
|
llm_bridge/type/model_message/openai_message.py,sha256=xFaLY-cZoSwNd7E9BSWQjBNcRfCVH11X9s2yxXlctR0,453
|
|
58
58
|
llm_bridge/type/model_message/openai_responses_message.py,sha256=be1q2euA0ybjj4NO6NxOGIRB9eJuXSb4ssUm_bM4Ocs,1529
|
|
59
|
-
llm_bridge-1.15.
|
|
60
|
-
llm_bridge-1.15.
|
|
61
|
-
llm_bridge-1.15.
|
|
62
|
-
llm_bridge-1.15.
|
|
59
|
+
llm_bridge-1.15.2.dist-info/METADATA,sha256=54xJvC-mU4gjFDlbp87V2WZ4R9Wm_TNeCEDfyRZlx-g,3417
|
|
60
|
+
llm_bridge-1.15.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
61
|
+
llm_bridge-1.15.2.dist-info/licenses/LICENSE,sha256=m6uon-6P_CaiqcBfApMfjG9YRtDxcr40Z52JcqUCEAE,1069
|
|
62
|
+
llm_bridge-1.15.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|