LLM-Bridge 1.12.3__py3-none-any.whl → 1.12.4__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.
@@ -1,6 +1,6 @@
1
1
  from google import genai
2
2
  from google.genai import types
3
- from google.genai.types import Modality
3
+ from google.genai.types import Modality, HttpOptions, MediaResolution
4
4
 
5
5
  from llm_bridge.client.implementations.gemini.non_stream_gemini_client import NonStreamGeminiClient
6
6
  from llm_bridge.client.implementations.gemini.stream_gemini_client import StreamGeminiClient
@@ -58,6 +58,7 @@ async def create_gemini_client(
58
58
  config = types.GenerateContentConfig(
59
59
  system_instruction=system_instruction,
60
60
  temperature=temperature,
61
+ media_resolution=MediaResolution.MEDIA_RESOLUTION_HIGH,
61
62
  safety_settings=[
62
63
  types.SafetySetting(
63
64
  category=types.HarmCategory.HARM_CATEGORY_HATE_SPEECH,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: LLM-Bridge
3
- Version: 1.12.3
3
+ Version: 1.12.4
4
4
  Summary: A Bridge for LLMs
5
5
  Author-email: windsnow1025 <windsnow1025@gmail.com>
6
6
  License-Expression: MIT
@@ -32,7 +32,7 @@ llm_bridge/logic/chat_generate/chat_message_converter.py,sha256=40VTBOPXg_ocrEZM
32
32
  llm_bridge/logic/chat_generate/media_processor.py,sha256=ZR8G24EHwZZr2T9iFDRmScDGyJ_kvThApABzSzK0CL0,702
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=bdO-4LBSwe1x8_5kamVg6dpRkxGB8_FXgRaaNH53qUs,3059
35
- llm_bridge/logic/chat_generate/model_client_factory/gemini_client_factory.py,sha256=DZBOoVOBk1fUdigjoYqdp7sUohOQR1_x3U6mvzC9RE4,3354
35
+ llm_bridge/logic/chat_generate/model_client_factory/gemini_client_factory.py,sha256=Yj-xwpSMckQOQXhH4TyW7FFs2AOweA1iECCEJK-q5AM,3448
36
36
  llm_bridge/logic/chat_generate/model_client_factory/openai_client_factory.py,sha256=EoU5kyccnwOKjGdFi5yTozNVPrq402jRtWPjSmBJs7M,4517
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
@@ -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.12.3.dist-info/licenses/LICENSE,sha256=m6uon-6P_CaiqcBfApMfjG9YRtDxcr40Z52JcqUCEAE,1069
59
- llm_bridge-1.12.3.dist-info/METADATA,sha256=1K-UeIAkLrzVjaCJ2AhMsw3hYVUi3Z5DofWAzRMpqDE,3388
60
- llm_bridge-1.12.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
61
- llm_bridge-1.12.3.dist-info/top_level.txt,sha256=PtxyrgNX1lSa1Ab_qswg0sekSXejG5zrS6b_v3Po05g,11
62
- llm_bridge-1.12.3.dist-info/RECORD,,
58
+ llm_bridge-1.12.4.dist-info/licenses/LICENSE,sha256=m6uon-6P_CaiqcBfApMfjG9YRtDxcr40Z52JcqUCEAE,1069
59
+ llm_bridge-1.12.4.dist-info/METADATA,sha256=UbTuvgiPW83MMUZW3Y7trIbEbJ_tUQJcPxD0cQ9ob74,3388
60
+ llm_bridge-1.12.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
61
+ llm_bridge-1.12.4.dist-info/top_level.txt,sha256=PtxyrgNX1lSa1Ab_qswg0sekSXejG5zrS6b_v3Po05g,11
62
+ llm_bridge-1.12.4.dist-info/RECORD,,