LLM-Bridge 1.10.2__py3-none-any.whl → 1.10.3__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 +8 -7
- {llm_bridge-1.10.2.dist-info → llm_bridge-1.10.3.dist-info}/METADATA +1 -1
- {llm_bridge-1.10.2.dist-info → llm_bridge-1.10.3.dist-info}/RECORD +6 -6
- {llm_bridge-1.10.2.dist-info → llm_bridge-1.10.3.dist-info}/WHEEL +0 -0
- {llm_bridge-1.10.2.dist-info → llm_bridge-1.10.3.dist-info}/licenses/LICENSE +0 -0
- {llm_bridge-1.10.2.dist-info → llm_bridge-1.10.3.dist-info}/top_level.txt +0 -0
|
@@ -60,19 +60,20 @@ async def create_openai_client(
|
|
|
60
60
|
tools = []
|
|
61
61
|
reasoning = None
|
|
62
62
|
|
|
63
|
-
if model
|
|
64
|
-
tools.append(
|
|
65
|
-
WebSearchToolParam(
|
|
66
|
-
type="web_search",
|
|
67
|
-
search_context_size="high",
|
|
68
|
-
)
|
|
69
|
-
)
|
|
63
|
+
if model not in ["gpt-5-chat-latest", "gpt-5-pro"]:
|
|
70
64
|
tools.append(
|
|
71
65
|
CodeInterpreter(
|
|
72
66
|
type="code_interpreter",
|
|
73
67
|
container=CodeInterpreterContainerCodeInterpreterToolAuto(type="auto")
|
|
74
68
|
)
|
|
75
69
|
)
|
|
70
|
+
if model not in ["gpt-5-chat-latest"]:
|
|
71
|
+
tools.append(
|
|
72
|
+
WebSearchToolParam(
|
|
73
|
+
type="web_search",
|
|
74
|
+
search_context_size="high",
|
|
75
|
+
)
|
|
76
|
+
)
|
|
76
77
|
if re.match(r"^o\d", model) or (re.match(r"gpt-5.*", model) and model != "gpt-5-chat-latest"):
|
|
77
78
|
temperature = 1
|
|
78
79
|
if re.match(r"gpt-5.*", model) and model != "gpt-5-chat-latest":
|
|
@@ -33,7 +33,7 @@ llm_bridge/logic/chat_generate/media_processor.py,sha256=ZR8G24EHwZZr2T9iFDRmScD
|
|
|
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
35
|
llm_bridge/logic/chat_generate/model_client_factory/gemini_client_factory.py,sha256=ORiyVkLytTN4nyvdzH6P7BCbpj07CHVNFWuNuL0d6UQ,3252
|
|
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=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
|
|
39
39
|
llm_bridge/logic/chat_generate/model_message_converter/gemini_message_converter.py,sha256=UjhzRX7sBa3-Zv1flMJd8bc8uRWMMav4UdJFhE6nVq4,1527
|
|
@@ -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.10.
|
|
59
|
-
llm_bridge-1.10.
|
|
60
|
-
llm_bridge-1.10.
|
|
61
|
-
llm_bridge-1.10.
|
|
62
|
-
llm_bridge-1.10.
|
|
58
|
+
llm_bridge-1.10.3.dist-info/licenses/LICENSE,sha256=m6uon-6P_CaiqcBfApMfjG9YRtDxcr40Z52JcqUCEAE,1069
|
|
59
|
+
llm_bridge-1.10.3.dist-info/METADATA,sha256=7zxhu_1olI8cYwdnIgZYPMgISj2LxvjJf4w-dzHLmi0,7849
|
|
60
|
+
llm_bridge-1.10.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
61
|
+
llm_bridge-1.10.3.dist-info/top_level.txt,sha256=PtxyrgNX1lSa1Ab_qswg0sekSXejG5zrS6b_v3Po05g,11
|
|
62
|
+
llm_bridge-1.10.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|