autobyteus 1.1.5__py3-none-any.whl → 1.1.6__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.
- autobyteus/agent/context/agent_config.py +6 -1
- autobyteus/agent/handlers/llm_user_message_ready_event_handler.py +30 -7
- autobyteus/agent/handlers/user_input_message_event_handler.py +22 -25
- autobyteus/agent/message/__init__.py +7 -5
- autobyteus/agent/message/agent_input_user_message.py +6 -16
- autobyteus/agent/message/context_file.py +24 -24
- autobyteus/agent/message/context_file_type.py +29 -8
- autobyteus/agent/message/multimodal_message_builder.py +47 -0
- autobyteus/agent/streaming/stream_event_payloads.py +23 -4
- autobyteus/agent/system_prompt_processor/tool_manifest_injector_processor.py +6 -2
- autobyteus/agent/tool_invocation.py +2 -1
- autobyteus/agent_team/bootstrap_steps/agent_configuration_preparation_step.py +9 -2
- autobyteus/agent_team/context/agent_team_config.py +1 -0
- autobyteus/llm/api/autobyteus_llm.py +33 -33
- autobyteus/llm/api/bedrock_llm.py +13 -5
- autobyteus/llm/api/claude_llm.py +13 -27
- autobyteus/llm/api/gemini_llm.py +108 -42
- autobyteus/llm/api/groq_llm.py +4 -3
- autobyteus/llm/api/mistral_llm.py +97 -51
- autobyteus/llm/api/nvidia_llm.py +6 -5
- autobyteus/llm/api/ollama_llm.py +37 -12
- autobyteus/llm/api/openai_compatible_llm.py +91 -91
- autobyteus/llm/autobyteus_provider.py +1 -1
- autobyteus/llm/base_llm.py +42 -139
- autobyteus/llm/extensions/base_extension.py +6 -6
- autobyteus/llm/extensions/token_usage_tracking_extension.py +3 -2
- autobyteus/llm/llm_factory.py +106 -4
- autobyteus/llm/token_counter/token_counter_factory.py +1 -1
- autobyteus/llm/user_message.py +43 -35
- autobyteus/llm/utils/llm_config.py +34 -18
- autobyteus/llm/utils/media_payload_formatter.py +99 -0
- autobyteus/llm/utils/messages.py +32 -25
- autobyteus/llm/utils/response_types.py +9 -3
- autobyteus/llm/utils/token_usage.py +6 -5
- autobyteus/multimedia/__init__.py +31 -0
- autobyteus/multimedia/audio/__init__.py +11 -0
- autobyteus/multimedia/audio/api/__init__.py +4 -0
- autobyteus/multimedia/audio/api/autobyteus_audio_client.py +59 -0
- autobyteus/multimedia/audio/api/gemini_audio_client.py +219 -0
- autobyteus/multimedia/audio/audio_client_factory.py +120 -0
- autobyteus/multimedia/audio/audio_model.py +96 -0
- autobyteus/multimedia/audio/autobyteus_audio_provider.py +108 -0
- autobyteus/multimedia/audio/base_audio_client.py +40 -0
- autobyteus/multimedia/image/__init__.py +11 -0
- autobyteus/multimedia/image/api/__init__.py +9 -0
- autobyteus/multimedia/image/api/autobyteus_image_client.py +97 -0
- autobyteus/multimedia/image/api/gemini_image_client.py +188 -0
- autobyteus/multimedia/image/api/openai_image_client.py +142 -0
- autobyteus/multimedia/image/autobyteus_image_provider.py +109 -0
- autobyteus/multimedia/image/base_image_client.py +67 -0
- autobyteus/multimedia/image/image_client_factory.py +118 -0
- autobyteus/multimedia/image/image_model.py +96 -0
- autobyteus/multimedia/providers.py +5 -0
- autobyteus/multimedia/runtimes.py +8 -0
- autobyteus/multimedia/utils/__init__.py +10 -0
- autobyteus/multimedia/utils/api_utils.py +19 -0
- autobyteus/multimedia/utils/multimedia_config.py +29 -0
- autobyteus/multimedia/utils/response_types.py +13 -0
- autobyteus/tools/__init__.py +3 -0
- autobyteus/tools/multimedia/__init__.py +8 -0
- autobyteus/tools/multimedia/audio_tools.py +116 -0
- autobyteus/tools/multimedia/image_tools.py +186 -0
- autobyteus/tools/tool_category.py +1 -0
- autobyteus/tools/usage/parsers/provider_aware_tool_usage_parser.py +5 -2
- autobyteus/tools/usage/providers/tool_manifest_provider.py +5 -3
- autobyteus/tools/usage/registries/tool_formatting_registry.py +9 -2
- autobyteus/tools/usage/registries/tool_usage_parser_registry.py +9 -2
- {autobyteus-1.1.5.dist-info → autobyteus-1.1.6.dist-info}/METADATA +9 -9
- {autobyteus-1.1.5.dist-info → autobyteus-1.1.6.dist-info}/RECORD +73 -45
- examples/run_browser_agent.py +1 -1
- autobyteus/llm/utils/image_payload_formatter.py +0 -89
- {autobyteus-1.1.5.dist-info → autobyteus-1.1.6.dist-info}/WHEEL +0 -0
- {autobyteus-1.1.5.dist-info → autobyteus-1.1.6.dist-info}/licenses/LICENSE +0 -0
- {autobyteus-1.1.5.dist-info → autobyteus-1.1.6.dist-info}/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ autobyteus/agent/agent.py,sha256=OLHU73lGlfbrwqke3cpnY8HE5zZEvYb0Cqqsxu_LKD0,492
|
|
|
5
5
|
autobyteus/agent/exceptions.py,sha256=tfXvey5SkT70X6kcu29o8YO91KB0hI9_uLrba91_G2s,237
|
|
6
6
|
autobyteus/agent/remote_agent.py,sha256=DPhAWobptj82HZaACbtLkXQBYIotgr3yZ6u4D9TJmeE,14458
|
|
7
7
|
autobyteus/agent/sender_type.py,sha256=Qlj2GBGVHXCRAKj7CMkd416bO_qcudoY730iM-LfJfM,559
|
|
8
|
-
autobyteus/agent/tool_invocation.py,sha256=
|
|
8
|
+
autobyteus/agent/tool_invocation.py,sha256=XP909Q5nDY_KK8jQvqhAvciNoW81hcPUPSWRNPyUJGc,2414
|
|
9
9
|
autobyteus/agent/bootstrap_steps/__init__.py,sha256=k3_J4MXu7PaTuUXK-D2Uax8kh4BnSNm22sDlQw6GFA4,906
|
|
10
10
|
autobyteus/agent/bootstrap_steps/agent_bootstrapper.py,sha256=tPxD4yQ_i3-rl9XOGaKrLMdpymBqrzHkkkzRW0xhPBw,4336
|
|
11
11
|
autobyteus/agent/bootstrap_steps/agent_runtime_queue_initialization_step.py,sha256=wulFdVAwR4jTZtJgHwLYf07r76KKCKpwa1Cho2AqjSw,3265
|
|
@@ -14,7 +14,7 @@ autobyteus/agent/bootstrap_steps/mcp_server_prewarming_step.py,sha256=M_OnynyLRm
|
|
|
14
14
|
autobyteus/agent/bootstrap_steps/system_prompt_processing_step.py,sha256=uqJvnj8Mm_m43RsKwc_lQfHH1D2jEBbHFWbZcQZnQtc,5703
|
|
15
15
|
autobyteus/agent/bootstrap_steps/workspace_context_initialization_step.py,sha256=FMF9fhD6Wgas4TpQbSwKiL43OZBmwh_cAA3G_5jRJhM,2112
|
|
16
16
|
autobyteus/agent/context/__init__.py,sha256=1an2L4sKJ1tYbJKAhCLSw-oYzt5_lmUwh1SYClA5c3M,447
|
|
17
|
-
autobyteus/agent/context/agent_config.py,sha256=
|
|
17
|
+
autobyteus/agent/context/agent_config.py,sha256=q04ohaBP8Wq2V0nK96YngFSLWCX7R02aAYfbIMRzAJc,6726
|
|
18
18
|
autobyteus/agent/context/agent_context.py,sha256=3Vd1c4EF6JY7rOKar7TQSXNNSNnpB-hYuhGqVQdi52g,5726
|
|
19
19
|
autobyteus/agent/context/agent_context_registry.py,sha256=GqwKn0EKKTRv6Vwwrb5kMRrwD9uH5NCh_Nvtmw82QTo,2748
|
|
20
20
|
autobyteus/agent/context/agent_runtime_state.py,sha256=CIoOJwGR9-H-vYBfq-4eQRP5uSoBcmlAFUGSru8xZ7A,5125
|
|
@@ -33,11 +33,11 @@ autobyteus/agent/handlers/generic_event_handler.py,sha256=759BrDJI-sesY74YN3CX3O
|
|
|
33
33
|
autobyteus/agent/handlers/inter_agent_message_event_handler.py,sha256=YjDtISJ39v7-xfK8WZ1roJdj308uCsECo6OMKVM8hjI,3596
|
|
34
34
|
autobyteus/agent/handlers/lifecycle_event_logger.py,sha256=-j5GhlCPauPwJMUOMUL53__wweZTsamhYXNbvQklnoY,2656
|
|
35
35
|
autobyteus/agent/handlers/llm_complete_response_received_event_handler.py,sha256=SjHiCPjzXQXAbx0GuywKPhZTxlHNYLkTUBH_0Cc08Mg,7813
|
|
36
|
-
autobyteus/agent/handlers/llm_user_message_ready_event_handler.py,sha256=
|
|
36
|
+
autobyteus/agent/handlers/llm_user_message_ready_event_handler.py,sha256=4WgDXUY4rmjpP44X2THKMAt2NpAZ5GukPqVNmLt6XJM,9064
|
|
37
37
|
autobyteus/agent/handlers/tool_execution_approval_event_handler.py,sha256=Tda_LrlIPbEwVzf1I6u4Vb9sPmAbGQRqT_2-Q9ukLhw,4489
|
|
38
38
|
autobyteus/agent/handlers/tool_invocation_request_event_handler.py,sha256=AjNGQgRCQkjXvYThd_AaPj0Lzh1adEkhYJO83alxVAY,10957
|
|
39
39
|
autobyteus/agent/handlers/tool_result_event_handler.py,sha256=CXsEHVWJ9PJCD8d1E7ytTzQCnApJxk9bj3j6OfEvQ_A,7341
|
|
40
|
-
autobyteus/agent/handlers/user_input_message_event_handler.py,sha256=
|
|
40
|
+
autobyteus/agent/handlers/user_input_message_event_handler.py,sha256=WBV_yFILqEEGbwhzPxKRKdTZcbJosvRIXAs8m1jOHi4,4937
|
|
41
41
|
autobyteus/agent/hooks/__init__.py,sha256=a1do0Ribb2Hpf9t0Xqxhf3Ls7R6EQuWJtfTGQK7VjUM,495
|
|
42
42
|
autobyteus/agent/hooks/base_phase_hook.py,sha256=7JU3FgPzX06Yg6eJgB4GXzXcaWTpOcEMmyw5Ku0mwJk,2040
|
|
43
43
|
autobyteus/agent/hooks/hook_definition.py,sha256=4aA4iZnxMnw9n6sGThD-kCt3JPQSjPQDCd5D7Q7uzQs,1273
|
|
@@ -54,12 +54,13 @@ autobyteus/agent/llm_response_processor/processor_definition.py,sha256=AMLmiL8dM
|
|
|
54
54
|
autobyteus/agent/llm_response_processor/processor_meta.py,sha256=RC32R5SVTSpBEOdexVh_SOTIydv0_ElWGP7PsXB-q_Q,1813
|
|
55
55
|
autobyteus/agent/llm_response_processor/processor_registry.py,sha256=K31pYAujCqnuVXLd_c7gekJfczkagfLC2nI6TciWKBU,4768
|
|
56
56
|
autobyteus/agent/llm_response_processor/provider_aware_tool_usage_processor.py,sha256=VMFhhZu-39xaZs3AWfPc_JIMjLNvIpjtv0GajigZlyw,3644
|
|
57
|
-
autobyteus/agent/message/__init__.py,sha256=
|
|
58
|
-
autobyteus/agent/message/agent_input_user_message.py,sha256=
|
|
59
|
-
autobyteus/agent/message/context_file.py,sha256=
|
|
60
|
-
autobyteus/agent/message/context_file_type.py,sha256=
|
|
57
|
+
autobyteus/agent/message/__init__.py,sha256=vIgKdHwCaRsaJNdi9jmGnenUZjrOhHq8hO0eZsi48hE,759
|
|
58
|
+
autobyteus/agent/message/agent_input_user_message.py,sha256=atIxZxWtqyePyqFfK8EszWIt9ny6G1AEs3hdfIaFQv0,4032
|
|
59
|
+
autobyteus/agent/message/context_file.py,sha256=161HOu_m7923GU9kI_EDEWtVckb2nuTyqDunBq8H2kg,3311
|
|
60
|
+
autobyteus/agent/message/context_file_type.py,sha256=PXGBxFKRa2ocFS09-UagPzrYAHpMi_ozS0DbQmZokZw,3192
|
|
61
61
|
autobyteus/agent/message/inter_agent_message.py,sha256=302oAt5PdrAqS1Cz80o7G6Kk3Ur1D9JNxze7Q0NI3dM,2436
|
|
62
62
|
autobyteus/agent/message/inter_agent_message_type.py,sha256=l-j0WB4F6yRXSSnHRKzNfmwnL4wX3usPN0JIrQthyEA,1130
|
|
63
|
+
autobyteus/agent/message/multimodal_message_builder.py,sha256=rPyfdqphWKMOeV5GImveR3__8yuDXIMbHx9cAypZGLU,2017
|
|
63
64
|
autobyteus/agent/message/send_message_to.py,sha256=0BoN_sXbUZ50BAS8sb3IGuIqIloZnC6kg7EzzRZrw8w,5879
|
|
64
65
|
autobyteus/agent/phases/__init__.py,sha256=OC0T294mOGUk6pudSVLslHtfziBJEYd_VoA-LgWo9oE,558
|
|
65
66
|
autobyteus/agent/phases/discover.py,sha256=YuW0I8PyGysiyAf3jfR-cVesgSH5zi78uYZKqnM6dGU,1993
|
|
@@ -79,14 +80,14 @@ autobyteus/agent/shutdown_steps/mcp_server_cleanup_step.py,sha256=_Ra9Fsf2KnPJAo
|
|
|
79
80
|
autobyteus/agent/streaming/__init__.py,sha256=ul7QUIjv5q1nYwzrU1nsVBsKZwpthdmUGsP3UPWmJ34,447
|
|
80
81
|
autobyteus/agent/streaming/agent_event_stream.py,sha256=lwpWy28flvtvERjycFpsdDIiInhZzDP73sG-LTBN8uI,10113
|
|
81
82
|
autobyteus/agent/streaming/queue_streamer.py,sha256=lTMyFwuf_NBJL6hrUIoz5-pqWSlM7fgz1xcVB73y1bk,2354
|
|
82
|
-
autobyteus/agent/streaming/stream_event_payloads.py,sha256=
|
|
83
|
+
autobyteus/agent/streaming/stream_event_payloads.py,sha256=gu7Wbl7LBcTMFf2zdVnpjE7IoP6f2sNLshLSoXYUk8Y,8364
|
|
83
84
|
autobyteus/agent/streaming/stream_events.py,sha256=FjH5kBMWcgdA0Z07Omnn9qTb1FOoRlNrouoHGxq0vGQ,5562
|
|
84
85
|
autobyteus/agent/system_prompt_processor/__init__.py,sha256=5CuF47Y6DKwOWNBQQ-WRQpIxH6Iww-1V0KPok3GCGq0,446
|
|
85
86
|
autobyteus/agent/system_prompt_processor/base_processor.py,sha256=LyWb9wyPl7nZZgiKYK2jtwQj1oe2I40kDyjJgRP5oBI,1717
|
|
86
87
|
autobyteus/agent/system_prompt_processor/processor_definition.py,sha256=r2ry7igUxaVrpAVmzAtR-O1ssFIhQEry-2PBs6YIZog,1767
|
|
87
88
|
autobyteus/agent/system_prompt_processor/processor_meta.py,sha256=aQLo0WE58HVQf4lkDxej2Lz4XFLWddUd24ZPWscnsyo,2356
|
|
88
89
|
autobyteus/agent/system_prompt_processor/processor_registry.py,sha256=VjjFiQ2z3Sxb_ZBVJ1omCcqompA2ttN815YEnx0R2lE,5007
|
|
89
|
-
autobyteus/agent/system_prompt_processor/tool_manifest_injector_processor.py,sha256=
|
|
90
|
+
autobyteus/agent/system_prompt_processor/tool_manifest_injector_processor.py,sha256=fAJXW_lWFqfQIT0HkEa_3A9r1Xl9TyGdPclzkyNxCo8,4417
|
|
90
91
|
autobyteus/agent/tool_execution_result_processor/__init__.py,sha256=GKiNSMvVvwuBce0z1wEUaf48NOzOqugzvB5Utxt8w7w,286
|
|
91
92
|
autobyteus/agent/tool_execution_result_processor/base_processor.py,sha256=0X_0W5dEYBZmWzVp6iiBwTCb0Gdm1Om_PxcoOyIHuW4,1546
|
|
92
93
|
autobyteus/agent/tool_execution_result_processor/processor_definition.py,sha256=Zr5a-DwKNdYuSO-UAD2R6Rg686YQAin5FhA6pWnxUVQ,1555
|
|
@@ -106,7 +107,7 @@ autobyteus/agent_team/agent_team_builder.py,sha256=-vX53032tc312wtBVs0UqO02K-g_w
|
|
|
106
107
|
autobyteus/agent_team/base_agent_team.py,sha256=AtTCt0upZjbV5Jj-2wFI54lzUsYHkstErttIZXQOJL0,3199
|
|
107
108
|
autobyteus/agent_team/exceptions.py,sha256=24kOHkJoyW1AKF7KQPuy8HIEpqzcYm3N_kl7W5CluSc,389
|
|
108
109
|
autobyteus/agent_team/bootstrap_steps/__init__.py,sha256=Gw7ohC8lTB1h2IMKZkxn2Sp7eEjmr_BC0kwpIjn-xKg,1398
|
|
109
|
-
autobyteus/agent_team/bootstrap_steps/agent_configuration_preparation_step.py,sha256=
|
|
110
|
+
autobyteus/agent_team/bootstrap_steps/agent_configuration_preparation_step.py,sha256=eWXnqsJWwFTCkgr-yjoGszldNH1PWs9U4OkNkFafb-A,4471
|
|
110
111
|
autobyteus/agent_team/bootstrap_steps/agent_team_bootstrapper.py,sha256=gwrG-iRr4-fw5gMnw69V39s7eLzIsIMY-LGDKyzHBpE,3093
|
|
111
112
|
autobyteus/agent_team/bootstrap_steps/agent_team_runtime_queue_initialization_step.py,sha256=YWg297DapsF_6cjuu8DFooBWTiOvU-N-RxK1MGPemwY,1370
|
|
112
113
|
autobyteus/agent_team/bootstrap_steps/base_agent_team_bootstrap_step.py,sha256=gRkmv8XwghAbWAS-jMKgCpaky0VPGyWi-QFR9uYDnBA,899
|
|
@@ -115,7 +116,7 @@ autobyteus/agent_team/bootstrap_steps/coordinator_prompt_preparation_step.py,sha
|
|
|
115
116
|
autobyteus/agent_team/bootstrap_steps/task_notifier_initialization_step.py,sha256=p0eH-FUq3Oe3DXxbu1J-lWU7UIrIE9sliXPkOyF8uog,2628
|
|
116
117
|
autobyteus/agent_team/bootstrap_steps/team_context_initialization_step.py,sha256=e6kFgIKDUuRrgjp84rX5Db5XUfr8DalD3h1qYQN7EcM,2438
|
|
117
118
|
autobyteus/agent_team/context/__init__.py,sha256=drrtG4m5HFNxJgtpucBmTA81TlbQaSgNXww38ChgwzE,667
|
|
118
|
-
autobyteus/agent_team/context/agent_team_config.py,sha256=
|
|
119
|
+
autobyteus/agent_team/context/agent_team_config.py,sha256=kA7BTHiPeM9iyN1Gg6acZP9WBhb7VHOvBnaCDA8juaY,1589
|
|
119
120
|
autobyteus/agent_team/context/agent_team_context.py,sha256=_QC-JyvH6Ld2Ysm-EubxbjqzJ1LLvrUkNAfUWKnulmo,2682
|
|
120
121
|
autobyteus/agent_team/context/agent_team_runtime_state.py,sha256=ioXgFIQkTwHS4nzuw567JWwnyGi9p7UoUR3TV8O5FJ8,2983
|
|
121
122
|
autobyteus/agent_team/context/team_manager.py,sha256=m5_cjIwznicSHTq0HHquZrsn14DmvrTR94xzuaaC7NM,7287
|
|
@@ -187,35 +188,35 @@ autobyteus/events/event_emitter.py,sha256=WKKwISFo2yDx0OpLjGFtXEl3DVV1siB0lXdndI
|
|
|
187
188
|
autobyteus/events/event_manager.py,sha256=c5RMlCtKzkHgQZkePBvqxPAxxOu-NapUrl8c2oRDkT8,5841
|
|
188
189
|
autobyteus/events/event_types.py,sha256=yFfCwSAWth-LCULklW2wjNp2pfZjjEow-_PMIcBajBo,3022
|
|
189
190
|
autobyteus/llm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
190
|
-
autobyteus/llm/autobyteus_provider.py,sha256=
|
|
191
|
-
autobyteus/llm/base_llm.py,sha256=
|
|
192
|
-
autobyteus/llm/llm_factory.py,sha256=
|
|
191
|
+
autobyteus/llm/autobyteus_provider.py,sha256=SQ_RsGVc1ElHQNLebxMG_8Ohm7ff5Y2cLlGbROTcOmI,8242
|
|
192
|
+
autobyteus/llm/base_llm.py,sha256=OCiInGSNApZ-bcrdEMt3siOFwNkB9UwFGfqVNYImzEo,8036
|
|
193
|
+
autobyteus/llm/llm_factory.py,sha256=k3ghTV97IRc9icMn7nglh7E7mpCYPX_FtBj4GEk1gLY,19728
|
|
193
194
|
autobyteus/llm/lmstudio_provider.py,sha256=RkM_drORSZ2zcSxN2Th5Upiva2oesIPw-6viqe2w9dY,4315
|
|
194
195
|
autobyteus/llm/models.py,sha256=ownBklNZrtJ_HWeMexa2T3s9TjWG0xggOt7wYrRs2l4,6963
|
|
195
196
|
autobyteus/llm/ollama_provider.py,sha256=CfcgC-DEWULjTwJiWazB5IXjErEyy1zZ41glrWhpj0g,4427
|
|
196
197
|
autobyteus/llm/ollama_provider_resolver.py,sha256=chGoQ7SvGJ68lv0Vv3AEd-b177Evu-iIcrtvwkUSbBg,1813
|
|
197
198
|
autobyteus/llm/providers.py,sha256=rIepOS3mNnd-BWf_cbrrJUf7cllcOUCQ-j4IIFoiLts,354
|
|
198
199
|
autobyteus/llm/runtimes.py,sha256=MzFNo3R1U3uWYAkuk-uuaba01Y0dDKQgVY_ElH_0dxU,315
|
|
199
|
-
autobyteus/llm/user_message.py,sha256=
|
|
200
|
+
autobyteus/llm/user_message.py,sha256=2hmICY_W7lwjYco3qT4zY1ELsBkpyxR2CjOgh33NMq0,3546
|
|
200
201
|
autobyteus/llm/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
201
|
-
autobyteus/llm/api/autobyteus_llm.py,sha256=
|
|
202
|
-
autobyteus/llm/api/bedrock_llm.py,sha256=
|
|
203
|
-
autobyteus/llm/api/claude_llm.py,sha256
|
|
202
|
+
autobyteus/llm/api/autobyteus_llm.py,sha256=n-QQA4vNRZTkCkjqSUXM8yhSGI-XvLEOyRbHBxZFKLU,4929
|
|
203
|
+
autobyteus/llm/api/bedrock_llm.py,sha256=8B7dNSkQPRfRi8GAPEB31A2pZLZfTIQUtxXjQ_E4rAE,3768
|
|
204
|
+
autobyteus/llm/api/claude_llm.py,sha256=quPfUmg3oASRKVer01_tIcBxrqNP-xIenCU-tWbfTlU,5286
|
|
204
205
|
autobyteus/llm/api/deepseek_llm.py,sha256=TEWtXAqM4OuKH1etj5kknzkbPsRGvEpWzTq_CoAU6po,894
|
|
205
|
-
autobyteus/llm/api/gemini_llm.py,sha256=
|
|
206
|
+
autobyteus/llm/api/gemini_llm.py,sha256=wgOtACJtGR88kfNaJ6bkGEpksS_Ef5Gmsz7CPtPfNNc,6133
|
|
206
207
|
autobyteus/llm/api/grok_llm.py,sha256=oZIkJrRhbvcKSrho5hLWqqRxO5SUfbwutKW1g-mPQC0,875
|
|
207
|
-
autobyteus/llm/api/groq_llm.py,sha256=
|
|
208
|
+
autobyteus/llm/api/groq_llm.py,sha256=btkyeVPjke-fWxuC42r7p8DXYuAVJy3gfYpnTLmZoHU,3485
|
|
208
209
|
autobyteus/llm/api/kimi_llm.py,sha256=oUgmP_D0ppr0zKhgRVyjxRMP8cEMGXB2DFUgXYqRlCg,873
|
|
209
210
|
autobyteus/llm/api/lmstudio_llm.py,sha256=7A7BokUKj-kioTaSuEw_MKofd7d5BnmxK6pyTFGOgSk,1281
|
|
210
|
-
autobyteus/llm/api/mistral_llm.py,sha256=
|
|
211
|
-
autobyteus/llm/api/nvidia_llm.py,sha256=
|
|
212
|
-
autobyteus/llm/api/ollama_llm.py,sha256=
|
|
213
|
-
autobyteus/llm/api/openai_compatible_llm.py,sha256=
|
|
211
|
+
autobyteus/llm/api/mistral_llm.py,sha256=ijPrtCir2vW3EPxsLIdOCjB_56_r7yf28ZKMc7GDxF8,7036
|
|
212
|
+
autobyteus/llm/api/nvidia_llm.py,sha256=zHRuhJjS4KedRAb1hpb9jxO3Pnw0Eu8Dc9mKrotMsOE,3990
|
|
213
|
+
autobyteus/llm/api/ollama_llm.py,sha256=PmrgxOS-RU59DxUAw4aAvKeJHghpWcb3PKgsZk-wZTo,6971
|
|
214
|
+
autobyteus/llm/api/openai_compatible_llm.py,sha256=TFEem7RLpqtB9-ExHYBDk9dC0iJe2fAeLLJRE6sGciM,9108
|
|
214
215
|
autobyteus/llm/api/openai_llm.py,sha256=414fWDFvTm7IkG3STfYCWT4mz1FQwEGnD4N5MpTyf6M,905
|
|
215
216
|
autobyteus/llm/extensions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
216
|
-
autobyteus/llm/extensions/base_extension.py,sha256=
|
|
217
|
+
autobyteus/llm/extensions/base_extension.py,sha256=ZqwmwNKBURFseAeRec53tpC4v1mnRTubdifk575eqlo,1273
|
|
217
218
|
autobyteus/llm/extensions/extension_registry.py,sha256=b4b3U5cQB9kZpJpqmT_e1lviLzjGQBsp7gJuYppjpjU,1254
|
|
218
|
-
autobyteus/llm/extensions/token_usage_tracking_extension.py,sha256=
|
|
219
|
+
autobyteus/llm/extensions/token_usage_tracking_extension.py,sha256=ZBdMoRXwura4v49suQiedDk-wQDKqxdW2tXZmxBQYu4,3793
|
|
219
220
|
autobyteus/llm/token_counter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
220
221
|
autobyteus/llm/token_counter/base_token_counter.py,sha256=NSY6rdSmBNn9MEAY4vSdnuB2BRRRwoP3rDp9ulBTAWA,2019
|
|
221
222
|
autobyteus/llm/token_counter/claude_token_counter.py,sha256=-gIB8uafY3fVy5Fefk0NTVH2NAFy0gfT8znHlpLQSwo,2620
|
|
@@ -223,16 +224,40 @@ autobyteus/llm/token_counter/deepseek_token_counter.py,sha256=YWCng71H6h5ZQX0Drj
|
|
|
223
224
|
autobyteus/llm/token_counter/kimi_token_counter.py,sha256=KuzgcbSWiqybCKHaukd-n917zEgUFebGXMAxlkZxue8,854
|
|
224
225
|
autobyteus/llm/token_counter/mistral_token_counter.py,sha256=YAUPqksnonTQRd1C7NjjFUPsjEDq_AKWxTc5GNTVGqU,4760
|
|
225
226
|
autobyteus/llm/token_counter/openai_token_counter.py,sha256=hGpKSo52NjtLKU8ZMHr76243wglFkfM9-ycSXJW-cwE,2811
|
|
226
|
-
autobyteus/llm/token_counter/token_counter_factory.py,sha256=
|
|
227
|
+
autobyteus/llm/token_counter/token_counter_factory.py,sha256=x2KCz3qWMDg8NDNqCO1-NcwvlhKN8UWkGa4yTPqF5JA,2102
|
|
227
228
|
autobyteus/llm/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
228
|
-
autobyteus/llm/utils/
|
|
229
|
-
autobyteus/llm/utils/
|
|
230
|
-
autobyteus/llm/utils/messages.py,sha256=
|
|
229
|
+
autobyteus/llm/utils/llm_config.py,sha256=yzRlUmeyGkKvb-jfywGaR3tWGeQ2l6f8GZ8KdFzHNDk,9911
|
|
230
|
+
autobyteus/llm/utils/media_payload_formatter.py,sha256=S-pZxIlGHuKzzrHbqv7SUx99BfYlZ7dVUGcUrGDShF0,3676
|
|
231
|
+
autobyteus/llm/utils/messages.py,sha256=YH9diNwRu-vua72HDZJnwsfpDNK6i69Uw805nkjv0zY,1740
|
|
231
232
|
autobyteus/llm/utils/rate_limiter.py,sha256=VxGw3AImu0V6BDRiL3ICsLQ8iMT3zszGrAeOKaazbn0,1295
|
|
232
|
-
autobyteus/llm/utils/response_types.py,sha256=
|
|
233
|
+
autobyteus/llm/utils/response_types.py,sha256=UWSDvxhaot2ad4c6NSM-A46J8ruGs1qMShWpYBczMB0,1004
|
|
233
234
|
autobyteus/llm/utils/token_pricing_config.py,sha256=6oRkG6R-BrP54sTI5Btjpy4s2c7bSAP7uZpzXldxx3E,4509
|
|
234
|
-
autobyteus/llm/utils/token_usage.py,sha256=
|
|
235
|
+
autobyteus/llm/utils/token_usage.py,sha256=C8YJH_-sYKJHVcE47hwwk-p0VTAFF0ezFGjSbc0mbzI,601
|
|
235
236
|
autobyteus/llm/utils/token_usage_tracker.py,sha256=RC4zL5k343-wLm0jXc-rwAOMhpxs_1klnrh-xi2J7W8,4220
|
|
237
|
+
autobyteus/multimedia/__init__.py,sha256=8sssScdnrek2-1-s7wStlOc37ZilLTf0cJzMqVzW4Zw,589
|
|
238
|
+
autobyteus/multimedia/providers.py,sha256=onG9G_NuzhWe0Fg9N73aXls0D081lvP0-RVEBCrU6Dg,99
|
|
239
|
+
autobyteus/multimedia/runtimes.py,sha256=mgmA06Ng7Gh6UW6YNi0O5CmwV6oDw3kX2qxLssUqG0o,180
|
|
240
|
+
autobyteus/multimedia/audio/__init__.py,sha256=RsUo63rEz8_HLJ7RonaSrYkoDKwhBmHomeseTnBX-Hg,287
|
|
241
|
+
autobyteus/multimedia/audio/audio_client_factory.py,sha256=v8iPQmXB0NR18Rvh2rnHTlKRgWeVWQHJE7F1zrwjCT4,5356
|
|
242
|
+
autobyteus/multimedia/audio/audio_model.py,sha256=ik8quUt17tsBdZHIWB3ZNOVizcfyP9LhkN15D8bz850,3627
|
|
243
|
+
autobyteus/multimedia/audio/autobyteus_audio_provider.py,sha256=wjtkVuma0QzTlAnpHJ-k1_8hewcbhuPw2zxDcx2o_dw,4761
|
|
244
|
+
autobyteus/multimedia/audio/base_audio_client.py,sha256=Y0iquuQgfhpipgAg8svm27psLs3pdEJOH4yqme-y7Dk,1410
|
|
245
|
+
autobyteus/multimedia/audio/api/__init__.py,sha256=_LHCfFqfwvbr0qSTLlioTcnb_EnfZtY1usY6nHegr1k,168
|
|
246
|
+
autobyteus/multimedia/audio/api/autobyteus_audio_client.py,sha256=aBnvJWN2lNClfMmEjmTXtJXRHlDe9tehAPM1MZXnsM0,2437
|
|
247
|
+
autobyteus/multimedia/audio/api/gemini_audio_client.py,sha256=YKyvHJUULYt4ofyX8oMb7Wru01gqpGjqgTwTT5wPx3g,8572
|
|
248
|
+
autobyteus/multimedia/image/__init__.py,sha256=YWwPtRgbTtPoZBgAmjt87P-pTREOZEpJzDbKhD9jSRg,287
|
|
249
|
+
autobyteus/multimedia/image/autobyteus_image_provider.py,sha256=JBQS36ZZFZ62EIEWeapSe93q6jUYotcxm1bCsPLT2UI,4871
|
|
250
|
+
autobyteus/multimedia/image/base_image_client.py,sha256=CAqr1YdpLpd7LiJocQtUFYlykkygPa4ls6i-CAmUkBY,2643
|
|
251
|
+
autobyteus/multimedia/image/image_client_factory.py,sha256=hOldDy5phvTKM8-dVSVP35eI8GwRld7bSLEp1GRZfuU,5453
|
|
252
|
+
autobyteus/multimedia/image/image_model.py,sha256=xbsc9TCNGz7_drVNRYyfiRWGSno7v7vhLDWZgHxo94A,3627
|
|
253
|
+
autobyteus/multimedia/image/api/__init__.py,sha256=Vh_FC_6rxcPhJqFpAvgv3yBqHYVmxrzjyVSSrCM7rww,255
|
|
254
|
+
autobyteus/multimedia/image/api/autobyteus_image_client.py,sha256=XsYINBbW8oUktP6YTWHRIl0bbC8vUc8MJVzTQQh1ZRI,3901
|
|
255
|
+
autobyteus/multimedia/image/api/gemini_image_client.py,sha256=O-WrUoUuBTMLB17shqoX202aNzA0RdzCsDY4Kdu76lA,7663
|
|
256
|
+
autobyteus/multimedia/image/api/openai_image_client.py,sha256=XgX_OK0K-fN63j2-FRlj2D0-aYEn3c6ZFiTjJRlAf0I,6204
|
|
257
|
+
autobyteus/multimedia/utils/__init__.py,sha256=pH2c5CB2V-QXVl6SgL6N70KKH0VShByhZHS8m7L9TCg,298
|
|
258
|
+
autobyteus/multimedia/utils/api_utils.py,sha256=dbrIQzRnoz66CwaZOIG4353h5ccbTEIvUPUSRfgIWOQ,613
|
|
259
|
+
autobyteus/multimedia/utils/multimedia_config.py,sha256=1CU1G0LqURt6DOrcvj2UnPUQ0Q2Mh4vzeKJEGbHoIno,953
|
|
260
|
+
autobyteus/multimedia/utils/response_types.py,sha256=aiyGwkH4K4NryOFDM4-X4M907ZVGKtvTKMJz6QEXKTA,359
|
|
236
261
|
autobyteus/person/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
237
262
|
autobyteus/person/person.py,sha256=hUBLaGu2_SiClhrXIEl6b9BTXbzyBimwX6Qc08iApTU,866
|
|
238
263
|
autobyteus/person/role.py,sha256=U7gFBtYY6IlQ2Hr1bqxlPwfXb4ixOJT5WSz3cjSpybU,511
|
|
@@ -280,7 +305,7 @@ autobyteus/task_management/tools/__init__.py,sha256=oKb6MLdUrD6h-oCnaZiQqlEvPwp9
|
|
|
280
305
|
autobyteus/task_management/tools/get_task_board_status.py,sha256=UX2d376GXF6v0KQNowuItbIR7mcSG6qmIGpf0VRyDbQ,2767
|
|
281
306
|
autobyteus/task_management/tools/publish_task_plan.py,sha256=40c9jfjJRbiSyjFCpcVYchMeB38ie8idTukZwtjYAeg,5435
|
|
282
307
|
autobyteus/task_management/tools/update_task_status.py,sha256=k44dr4IMNHDwUO_rhUcnWmXD5m-d72__3fam9iC_Vhw,6469
|
|
283
|
-
autobyteus/tools/__init__.py,sha256=
|
|
308
|
+
autobyteus/tools/__init__.py,sha256=ht-UEhHyC2lWZBhj5ud1IH56m_QnL3SONgzXUCpqP_U,3119
|
|
284
309
|
autobyteus/tools/ask_user_input.py,sha256=2KHv7kRR9yyd5VKLgW-vJiE4HiYiFozHsVN4_5NhhdE,1649
|
|
285
310
|
autobyteus/tools/base_tool.py,sha256=x8Hjth7koJ6Brgi70phlm46K5SC9ofH4qokl4QqM9JQ,5159
|
|
286
311
|
autobyteus/tools/functional_tool.py,sha256=_WBv_mZCTIaekBwlOLiV8A7nLZhJiR-HYG6WJDij-eg,10393
|
|
@@ -288,7 +313,7 @@ autobyteus/tools/image_downloader.py,sha256=IQ-P1IBwLvbp8jyhtxLu54acWldJ6miFYkVI
|
|
|
288
313
|
autobyteus/tools/parameter_schema.py,sha256=rRqhx0uwzr7-uPYIdZqEaxZ0bPJpX9GlHhipKXATwIU,11107
|
|
289
314
|
autobyteus/tools/pdf_downloader.py,sha256=0WeznZhkYvXvgU2CH21q6LSVEQm8S1mAm7gtw_CjsJM,3927
|
|
290
315
|
autobyteus/tools/timer.py,sha256=hPei4QONtpdQrSS72_SNw6-j-gVd5NT2RScAhqMhRSY,7384
|
|
291
|
-
autobyteus/tools/tool_category.py,sha256=
|
|
316
|
+
autobyteus/tools/tool_category.py,sha256=pSf3C4kDc5ZGRYLmlGaU0th9YgdI-3TSS_yOdqbEzLU,740
|
|
292
317
|
autobyteus/tools/tool_config.py,sha256=gnzGweccECNmCeufkzbskHeFOt3f0431DyAmMhqNVn4,3564
|
|
293
318
|
autobyteus/tools/tool_meta.py,sha256=X2JOY5fcPSvUMdgUQr0zTV5bRDuAmF7vuUMax5X5DhE,4417
|
|
294
319
|
autobyteus/tools/tool_origin.py,sha256=X1RqyDMWg2n7v0TciJHh5eiXgDDoU86BEQL3hx975jk,269
|
|
@@ -341,6 +366,9 @@ autobyteus/tools/mcp/server/base_managed_mcp_server.py,sha256=ep-EKh4uqorrNYvv7D
|
|
|
341
366
|
autobyteus/tools/mcp/server/http_managed_mcp_server.py,sha256=Kit7zcJxaRXfAXMxYqCKVcl4MfNsgRfXK9kjDaQFkMA,1969
|
|
342
367
|
autobyteus/tools/mcp/server/proxy.py,sha256=08F3m1I_IH2wrRXK29R_NPDB6ITHpo982Mq9G53hbUo,1660
|
|
343
368
|
autobyteus/tools/mcp/server/stdio_managed_mcp_server.py,sha256=a84GOnhWLg4vx6yo5dI8BlqUA_fdi0M5eNo2a-tGWwM,2085
|
|
369
|
+
autobyteus/tools/multimedia/__init__.py,sha256=RFmeHDRBJWk8Kn0uzR5m9MbIU1ggc1P0ZoDMKzK54c4,189
|
|
370
|
+
autobyteus/tools/multimedia/audio_tools.py,sha256=qtrc-o3PckBzgrIBQUp0lAKjjMRCoLboYTabm0Wcn3Q,4696
|
|
371
|
+
autobyteus/tools/multimedia/image_tools.py,sha256=Fqo8VbrzHb9_4jPL8t_j0XOot9Wc653XS4HD8ngeKmw,7712
|
|
344
372
|
autobyteus/tools/operation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
345
373
|
autobyteus/tools/operation/file_operation.py,sha256=bAehQ9PfHoCDpk9Wa7vx9h3ohzVuaGzzBUogxleTwq8,2375
|
|
346
374
|
autobyteus/tools/operation/file_rename_operation.py,sha256=pExiC69HUzYbKihlVumlGHMGxmmrsKQB0JfAM5x4JH0,1710
|
|
@@ -373,13 +401,13 @@ autobyteus/tools/usage/parsers/default_xml_tool_usage_parser.py,sha256=FtC_szwfQ
|
|
|
373
401
|
autobyteus/tools/usage/parsers/exceptions.py,sha256=CncCSH4IJUYPaCTilj1oPgfZWdCycIxQBrWiSKuWXtc,468
|
|
374
402
|
autobyteus/tools/usage/parsers/gemini_json_tool_usage_parser.py,sha256=t0vQWhmf4t6-tGq6OeH4o-1w_3eeUxQjHDYNpQ5g6R4,3502
|
|
375
403
|
autobyteus/tools/usage/parsers/openai_json_tool_usage_parser.py,sha256=wQXe4HAYsvfuLG6Ffv_Rk38ZAN5c1NlaEb7lFq7xbVs,6916
|
|
376
|
-
autobyteus/tools/usage/parsers/provider_aware_tool_usage_parser.py,sha256=
|
|
404
|
+
autobyteus/tools/usage/parsers/provider_aware_tool_usage_parser.py,sha256=OVPQpNlDCvAIKE5kKXFUIMdaTTK3pyJW2oCQ_bkOPBk,2829
|
|
377
405
|
autobyteus/tools/usage/providers/__init__.py,sha256=C8GmfzYwzSS2OGv7MbvxtRe0OsIALvkC7rN7OWvA5p4,445
|
|
378
|
-
autobyteus/tools/usage/providers/tool_manifest_provider.py,sha256=
|
|
406
|
+
autobyteus/tools/usage/providers/tool_manifest_provider.py,sha256=UVc6LQE10K6UtEI7IYsjhIYWjeMBSGUtaHltMop9wrM,3598
|
|
379
407
|
autobyteus/tools/usage/registries/__init__.py,sha256=S1jYYPqAjvD1rY0b8zkffBnKz8-_ptftfbgr1lqb7I8,547
|
|
380
408
|
autobyteus/tools/usage/registries/tool_formatter_pair.py,sha256=Deki2aAEsFY0OSrMQf-4wZcyIInGI7EKQ2ZKenaFtMU,593
|
|
381
|
-
autobyteus/tools/usage/registries/tool_formatting_registry.py,sha256=
|
|
382
|
-
autobyteus/tools/usage/registries/tool_usage_parser_registry.py,sha256=
|
|
409
|
+
autobyteus/tools/usage/registries/tool_formatting_registry.py,sha256=zKUDxsoo7X3fw783lpJIzETzTlkXJGoHYmO2rXU1efI,3337
|
|
410
|
+
autobyteus/tools/usage/registries/tool_usage_parser_registry.py,sha256=kVgnq1hwTdb2C5SH5TGQLd6-bzDzfFLwk2qodrzwLWY,2667
|
|
383
411
|
autobyteus/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
384
412
|
autobyteus/utils/dynamic_enum.py,sha256=c_mgKtKrjb958LlCWeAApl1LMvVB7U_0SWl-8XFhRag,1339
|
|
385
413
|
autobyteus/utils/file_utils.py,sha256=QK0LvrwA5c9FDjpSrfPPEQbu_AirteJNiLad9yRahDY,512
|
|
@@ -438,10 +466,10 @@ autobyteus/workflow/streaming/workflow_stream_event_payloads.py,sha256=jv1bVYg-7
|
|
|
438
466
|
autobyteus/workflow/streaming/workflow_stream_events.py,sha256=75P29jNgcL7Go7D9wVz236KTwPfmqc5K7hUvVnc94K0,2221
|
|
439
467
|
autobyteus/workflow/utils/__init__.py,sha256=SzaMZHnJBIJKcT_r-HOeyIcuxzRu2bGeFkOcMLJaalk,222
|
|
440
468
|
autobyteus/workflow/utils/wait_for_idle.py,sha256=FgHtz59DN0eg8Na1PkkVR55Ihdd2e5Gn_mr7RVHl4qI,2001
|
|
441
|
-
autobyteus-1.1.
|
|
469
|
+
autobyteus-1.1.6.dist-info/licenses/LICENSE,sha256=Ompok_c8HRsXRwmax-pGR9OZRRxZC9RPp4JB6eTJd0M,1360
|
|
442
470
|
examples/__init__.py,sha256=BtTQJ6yeHyksK5GC3kfN6RFR6Gcrwq1TBmp6FIIj3Z8,40
|
|
443
471
|
examples/discover_phase_transitions.py,sha256=NiFK_XzDCpWwmNsQqf0Ou2w6L5bofKIKODq7sH5uPzk,3679
|
|
444
|
-
examples/run_browser_agent.py,sha256
|
|
472
|
+
examples/run_browser_agent.py,sha256=tpBJGIYYvVsNZAUo_WsZbhV_8fdeORUoHlQ8uQvnXPM,11737
|
|
445
473
|
examples/run_google_slides_agent.py,sha256=mNyIk2sWqbL9Yxa8_tX3xhecFZYwHtU0bdYo_53nMu8,13102
|
|
446
474
|
examples/run_mcp_browser_client.py,sha256=6vEBxGtAuGffkFk-gr3NvqetO84IdhNzip5Jp7V1tSc,6772
|
|
447
475
|
examples/run_mcp_google_slides_client.py,sha256=EMG7nG3df3fCrOX_iIncDWSqDdBrifm7gGYWUnkCJ_c,11826
|
|
@@ -449,7 +477,7 @@ examples/run_mcp_list_tools.py,sha256=-dOM-7xyyDM2gp5e_8KZVGbX5ZxWqFQB9l-fHfR8Xx
|
|
|
449
477
|
examples/run_poem_writer.py,sha256=wJsT4ZHwXw3MbPAESwyCkAMWWYt7KH5BLhEDQxA06XM,13145
|
|
450
478
|
examples/run_sqlite_agent.py,sha256=c0ktqJ9tExMBgHSzA12Ys9x96ZqS2RBy0iDPFWstUJE,13161
|
|
451
479
|
examples/agent_team/__init__.py,sha256=WIg0HENp1TUClJ3p2gIRn0C-VW9Qr7Ttqtedr4xQ3Jo,51
|
|
452
|
-
autobyteus-1.1.
|
|
453
|
-
autobyteus-1.1.
|
|
454
|
-
autobyteus-1.1.
|
|
455
|
-
autobyteus-1.1.
|
|
480
|
+
autobyteus-1.1.6.dist-info/METADATA,sha256=P2HlIHZPsdW6YSasbdS7y0MG73tt0U4fZpdUHltiyQw,6897
|
|
481
|
+
autobyteus-1.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
482
|
+
autobyteus-1.1.6.dist-info/top_level.txt,sha256=vNmK1Y8Irbc0iDPdRtr9gIx5eLM-c2v1ntItkzICzHU,20
|
|
483
|
+
autobyteus-1.1.6.dist-info/RECORD,,
|
examples/run_browser_agent.py
CHANGED
|
@@ -226,7 +226,7 @@ async def main(args: argparse.Namespace):
|
|
|
226
226
|
|
|
227
227
|
if __name__ == "__main__":
|
|
228
228
|
parser = argparse.ArgumentParser(description="Run the BrowserAgent interactively.")
|
|
229
|
-
parser.add_argument("--llm-model", type=str, default="gemini-2.0-flash-
|
|
229
|
+
parser.add_argument("--llm-model", type=str, default="gemini-2.0-flash-", help=f"The LLM model identifier to use. Call --help-models for list.")
|
|
230
230
|
parser.add_argument("--help-models", action="store_true", help="Display available LLM models and exit.")
|
|
231
231
|
parser.add_argument("--debug", action="store_true", help="Enable debug logging.")
|
|
232
232
|
parser.add_argument("--agent-log-file", type=str, default="./agent_logs_browser.txt",
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import base64
|
|
3
|
-
import mimetypes
|
|
4
|
-
from typing import Dict, Union
|
|
5
|
-
from pathlib import Path
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
def get_mime_type(file_path: str) -> str:
|
|
9
|
-
"""Determine MIME type of file."""
|
|
10
|
-
mime_type, _ = mimetypes.guess_type(file_path)
|
|
11
|
-
if not mime_type or not mime_type.startswith('image/'):
|
|
12
|
-
return 'image/jpeg' # default fallback
|
|
13
|
-
return mime_type
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
def is_base64(s: str) -> bool:
|
|
17
|
-
"""Check if a string is base64 encoded."""
|
|
18
|
-
try:
|
|
19
|
-
base64.b64decode(s)
|
|
20
|
-
return True
|
|
21
|
-
except Exception:
|
|
22
|
-
return False
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
def is_valid_image_path(path: str) -> bool:
|
|
26
|
-
"""Check if path exists and has a valid image extension."""
|
|
27
|
-
valid_extensions = {".jpg", ".jpeg", ".png", ".gif", ".webp"}
|
|
28
|
-
file_path = Path(path)
|
|
29
|
-
return file_path.exists() and file_path.suffix.lower() in valid_extensions
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
def create_data_uri(mime_type: str, base64_data: str) -> Dict:
|
|
33
|
-
"""Create properly structured data URI object for API."""
|
|
34
|
-
return {
|
|
35
|
-
"type": "image_url",
|
|
36
|
-
"image_url": {
|
|
37
|
-
"url": f"data:{mime_type};base64,{base64_data}"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
def process_image(image_input: Union[str, bytes]) -> Dict:
|
|
43
|
-
"""
|
|
44
|
-
Process image input into format required by LLM APIs.
|
|
45
|
-
|
|
46
|
-
Args:
|
|
47
|
-
image_input: Can be:
|
|
48
|
-
- A file path (str)
|
|
49
|
-
- A URL (str)
|
|
50
|
-
- Base64 encoded image (str)
|
|
51
|
-
- Raw bytes
|
|
52
|
-
|
|
53
|
-
Returns:
|
|
54
|
-
Dict with image type and properly structured image_url object.
|
|
55
|
-
"""
|
|
56
|
-
if isinstance(image_input, bytes):
|
|
57
|
-
base64_image = base64.b64encode(image_input).decode("utf-8")
|
|
58
|
-
return create_data_uri("image/jpeg", base64_image)
|
|
59
|
-
|
|
60
|
-
elif isinstance(image_input, str):
|
|
61
|
-
if is_valid_image_path(image_input):
|
|
62
|
-
mime_type = get_mime_type(image_input)
|
|
63
|
-
with open(image_input, "rb") as img_file:
|
|
64
|
-
base64_image = base64.b64encode(img_file.read()).decode("utf-8")
|
|
65
|
-
return create_data_uri(mime_type, base64_image)
|
|
66
|
-
|
|
67
|
-
elif is_base64(image_input):
|
|
68
|
-
return create_data_uri("image/jpeg", image_input)
|
|
69
|
-
|
|
70
|
-
elif image_input.startswith(("http://", "https://")):
|
|
71
|
-
return {
|
|
72
|
-
"type": "image_url",
|
|
73
|
-
"image_url": {
|
|
74
|
-
"url": image_input
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
elif image_input.startswith("data:image"):
|
|
78
|
-
return {
|
|
79
|
-
"type": "image_url",
|
|
80
|
-
"image_url": {
|
|
81
|
-
"url": image_input
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
raise ValueError("Invalid image path or URL")
|
|
86
|
-
|
|
87
|
-
raise ValueError(
|
|
88
|
-
"Image input must be either bytes, file path, base64 string, or URL"
|
|
89
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|