autobyteus 1.1.5__py3-none-any.whl → 1.1.7__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/context/agent_runtime_state.py +7 -1
- autobyteus/agent/handlers/llm_user_message_ready_event_handler.py +30 -7
- autobyteus/agent/handlers/tool_result_event_handler.py +100 -88
- autobyteus/agent/handlers/user_input_message_event_handler.py +22 -25
- autobyteus/agent/llm_response_processor/provider_aware_tool_usage_processor.py +7 -1
- 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 +27 -2
- autobyteus/agent_team/agent_team_builder.py +22 -1
- autobyteus/agent_team/bootstrap_steps/agent_configuration_preparation_step.py +9 -2
- autobyteus/agent_team/context/agent_team_config.py +1 -0
- autobyteus/agent_team/context/agent_team_runtime_state.py +0 -2
- 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 +131 -61
- autobyteus/llm/ollama_provider_resolver.py +1 -0
- autobyteus/llm/providers.py +1 -0
- autobyteus/llm/token_counter/token_counter_factory.py +3 -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 +97 -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 +97 -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/task_management/tools/publish_task_plan.py +4 -16
- autobyteus/task_management/tools/update_task_status.py +4 -19
- autobyteus/tools/__init__.py +5 -4
- autobyteus/tools/base_tool.py +98 -29
- autobyteus/tools/browser/standalone/__init__.py +0 -1
- autobyteus/tools/google_search.py +149 -0
- autobyteus/tools/mcp/schema_mapper.py +29 -71
- 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/parameter_schema.py +82 -89
- autobyteus/tools/pydantic_schema_converter.py +81 -0
- autobyteus/tools/tool_category.py +1 -0
- autobyteus/tools/usage/formatters/default_json_example_formatter.py +89 -20
- autobyteus/tools/usage/formatters/default_xml_example_formatter.py +115 -41
- autobyteus/tools/usage/formatters/default_xml_schema_formatter.py +50 -20
- autobyteus/tools/usage/formatters/gemini_json_example_formatter.py +55 -22
- autobyteus/tools/usage/formatters/google_json_example_formatter.py +54 -21
- autobyteus/tools/usage/formatters/openai_json_example_formatter.py +53 -23
- autobyteus/tools/usage/parsers/default_xml_tool_usage_parser.py +270 -94
- autobyteus/tools/usage/parsers/provider_aware_tool_usage_parser.py +5 -2
- autobyteus/tools/usage/providers/tool_manifest_provider.py +43 -16
- autobyteus/tools/usage/registries/tool_formatting_registry.py +9 -2
- autobyteus/tools/usage/registries/tool_usage_parser_registry.py +9 -2
- autobyteus-1.1.7.dist-info/METADATA +204 -0
- {autobyteus-1.1.5.dist-info → autobyteus-1.1.7.dist-info}/RECORD +98 -71
- examples/run_browser_agent.py +1 -1
- examples/run_google_slides_agent.py +2 -2
- examples/run_mcp_google_slides_client.py +1 -1
- examples/run_sqlite_agent.py +1 -1
- autobyteus/llm/utils/image_payload_formatter.py +0 -89
- autobyteus/tools/ask_user_input.py +0 -40
- autobyteus/tools/browser/standalone/factory/google_search_factory.py +0 -25
- autobyteus/tools/browser/standalone/google_search_ui.py +0 -126
- autobyteus-1.1.5.dist-info/METADATA +0 -161
- {autobyteus-1.1.5.dist-info → autobyteus-1.1.7.dist-info}/WHEEL +0 -0
- {autobyteus-1.1.5.dist-info → autobyteus-1.1.7.dist-info}/licenses/LICENSE +0 -0
- {autobyteus-1.1.5.dist-info → autobyteus-1.1.7.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=oEtzk5g2T2mRLatebkSYcUbyz1JwF2ybBxd92yTKb28,3217
|
|
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,10 +14,10 @@ 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
|
-
autobyteus/agent/context/agent_runtime_state.py,sha256=
|
|
20
|
+
autobyteus/agent/context/agent_runtime_state.py,sha256=H4b3gGJkPW7DUgtFrnRcnp8yIg1HkzzHx5U5HQ6ddJ4,5523
|
|
21
21
|
autobyteus/agent/events/__init__.py,sha256=8AL83PBRLkEptTzPznn_XpGXq2-S56Yxx3WarNcsc3U,1507
|
|
22
22
|
autobyteus/agent/events/agent_events.py,sha256=plrBY3Cr_nUhrwvkpED_2qyPq2Slc0ciiupsWdPvmwo,3821
|
|
23
23
|
autobyteus/agent/events/agent_input_event_queue_manager.py,sha256=VfynrdVSPkKEH94yg9p1WBOoV52JQX8MRJhJ-GU7fcY,10461
|
|
@@ -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
|
-
autobyteus/agent/handlers/tool_result_event_handler.py,sha256=
|
|
40
|
-
autobyteus/agent/handlers/user_input_message_event_handler.py,sha256=
|
|
39
|
+
autobyteus/agent/handlers/tool_result_event_handler.py,sha256=MmT567LCZ60sK0fgeULCR0wM7PIJEAsRESCdDZNhwC8,7292
|
|
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
|
|
@@ -53,13 +53,14 @@ autobyteus/agent/llm_response_processor/base_processor.py,sha256=U9oKMwbz_oYYw__
|
|
|
53
53
|
autobyteus/agent/llm_response_processor/processor_definition.py,sha256=AMLmiL8dMlTpmBKmQrqrfNTfwJLyL6kLHYGqJ-Ly8bE,1464
|
|
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
|
-
autobyteus/agent/llm_response_processor/provider_aware_tool_usage_processor.py,sha256=
|
|
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=
|
|
56
|
+
autobyteus/agent/llm_response_processor/provider_aware_tool_usage_processor.py,sha256=2IedGKFQ3Km5bsTWS9QVLya8x8aLV3RCH3Uv8jzAwUE,4049
|
|
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
|
|
@@ -102,11 +103,11 @@ autobyteus/agent/workspace/workspace_meta.py,sha256=xuw1-lYQiK5YyyDDc_5uT3uOGL0F
|
|
|
102
103
|
autobyteus/agent/workspace/workspace_registry.py,sha256=A_wADwvZOm1XutBgkn_-FBkqb4tS1fRtALrKe2XRDhw,3182
|
|
103
104
|
autobyteus/agent_team/__init__.py,sha256=JzL7W4KLKQdFpV3WLAZJp0dM5DQWgD3xAqLr-iRoEas,53
|
|
104
105
|
autobyteus/agent_team/agent_team.py,sha256=M3GNiBgCTiYbbaGB4VquRHhPoLN8D9Hladv6hLJ_IrA,3722
|
|
105
|
-
autobyteus/agent_team/agent_team_builder.py,sha256
|
|
106
|
+
autobyteus/agent_team/agent_team_builder.py,sha256=E4zDq9ZozHVwcm_ZXZQY0F5GcfXI9sMVrd0CL5RdQj0,9275
|
|
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,9 +116,9 @@ 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
|
-
autobyteus/agent_team/context/agent_team_runtime_state.py,sha256=
|
|
121
|
+
autobyteus/agent_team/context/agent_team_runtime_state.py,sha256=aYI4_J0km9g1YVWVA7EzhU-M_B89lqclJVZf-hhg3wY,2812
|
|
121
122
|
autobyteus/agent_team/context/team_manager.py,sha256=m5_cjIwznicSHTq0HHquZrsn14DmvrTR94xzuaaC7NM,7287
|
|
122
123
|
autobyteus/agent_team/context/team_node_config.py,sha256=V_Ng_YoOcAXkujW6Y1STg39YKzcmMrZvgAgBDORO38Y,3186
|
|
123
124
|
autobyteus/agent_team/events/__init__.py,sha256=H2JMNRxeEmzIpbUFWmNR2IaIPXgcz301UIEQ8Yn0AuY,971
|
|
@@ -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=jeRIZoA5QArtNzQKC6VVWEVcHy2-z4evRiIL2_Qicxs,18601
|
|
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
|
-
autobyteus/llm/ollama_provider_resolver.py,sha256=
|
|
197
|
-
autobyteus/llm/providers.py,sha256=
|
|
197
|
+
autobyteus/llm/ollama_provider_resolver.py,sha256=EI0lTqhejSeuFkJCLF0cPQ2PSmCjXjcXNSryvwvNBYg,1851
|
|
198
|
+
autobyteus/llm/providers.py,sha256=7Dm9JQpwMZHV__sYNGuLzQfK3ZaW0AAbryKDl26V8ys,372
|
|
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=1xYYJoX7DyOgQz54a8_P24I8NHgKNsa8WZ7bLQEHRFQ,2193
|
|
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=bhBovsaw9yAYZNlpB3-gObtRoClzoQUaxwGInHt0iVM,3745
|
|
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=_Cb7up7zumdHa9F09D1VqEHmySn6vhUFTyo6rcwfy54,3745
|
|
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
|
|
@@ -278,17 +303,18 @@ autobyteus/task_management/schemas/plan_definition.py,sha256=oaudmKfkNK8foWVa0zd
|
|
|
278
303
|
autobyteus/task_management/schemas/task_status_report.py,sha256=TSWGmbue3-ag0bZziB5PWao5burcvZYa2wJpNaMseF8,1676
|
|
279
304
|
autobyteus/task_management/tools/__init__.py,sha256=oKb6MLdUrD6h-oCnaZiQqlEvPwp91wRoQG8cg4lYsig,415
|
|
280
305
|
autobyteus/task_management/tools/get_task_board_status.py,sha256=UX2d376GXF6v0KQNowuItbIR7mcSG6qmIGpf0VRyDbQ,2767
|
|
281
|
-
autobyteus/task_management/tools/publish_task_plan.py,sha256=
|
|
282
|
-
autobyteus/task_management/tools/update_task_status.py,sha256=
|
|
283
|
-
autobyteus/tools/__init__.py,sha256=
|
|
284
|
-
autobyteus/tools/
|
|
285
|
-
autobyteus/tools/base_tool.py,sha256=x8Hjth7koJ6Brgi70phlm46K5SC9ofH4qokl4QqM9JQ,5159
|
|
306
|
+
autobyteus/task_management/tools/publish_task_plan.py,sha256=7Bcfh0pF3KI-CasXT2DDd8rG0xPVL0Vut-tARAGXtf8,4785
|
|
307
|
+
autobyteus/task_management/tools/update_task_status.py,sha256=HCaO1qQhnSd3H5dG7RHkW1D42vMV4-hBS7a5hx_C-IQ,5943
|
|
308
|
+
autobyteus/tools/__init__.py,sha256=HfSOKfTtOyXMIY8VnVC_dgTKKWq4ueoxN1IJAAniNOk,3033
|
|
309
|
+
autobyteus/tools/base_tool.py,sha256=sRrfbvaw7bFUC_GKYrJyKnBr9nnmzrfInUto09lkmLY,8706
|
|
286
310
|
autobyteus/tools/functional_tool.py,sha256=_WBv_mZCTIaekBwlOLiV8A7nLZhJiR-HYG6WJDij-eg,10393
|
|
311
|
+
autobyteus/tools/google_search.py,sha256=OLY_pBc3_SEs69ELyq4DDvB8txOUxF7QV6rJCKu6tAA,5890
|
|
287
312
|
autobyteus/tools/image_downloader.py,sha256=IQ-P1IBwLvbp8jyhtxLu54acWldJ6miFYkVIz7tHCMQ,4868
|
|
288
|
-
autobyteus/tools/parameter_schema.py,sha256
|
|
313
|
+
autobyteus/tools/parameter_schema.py,sha256=-eXYYmP01_XBycF35FFKk87YIzzdFpqZ3dSV_xTF-Kc,13010
|
|
289
314
|
autobyteus/tools/pdf_downloader.py,sha256=0WeznZhkYvXvgU2CH21q6LSVEQm8S1mAm7gtw_CjsJM,3927
|
|
315
|
+
autobyteus/tools/pydantic_schema_converter.py,sha256=E4WIQnPG37l3_niu2XZRx43eGOSynfFuRNpxeXKRVOA,3402
|
|
290
316
|
autobyteus/tools/timer.py,sha256=hPei4QONtpdQrSS72_SNw6-j-gVd5NT2RScAhqMhRSY,7384
|
|
291
|
-
autobyteus/tools/tool_category.py,sha256=
|
|
317
|
+
autobyteus/tools/tool_category.py,sha256=pSf3C4kDc5ZGRYLmlGaU0th9YgdI-3TSS_yOdqbEzLU,740
|
|
292
318
|
autobyteus/tools/tool_config.py,sha256=gnzGweccECNmCeufkzbskHeFOt3f0431DyAmMhqNVn4,3564
|
|
293
319
|
autobyteus/tools/tool_meta.py,sha256=X2JOY5fcPSvUMdgUQr0zTV5bRDuAmF7vuUMax5X5DhE,4417
|
|
294
320
|
autobyteus/tools/tool_origin.py,sha256=X1RqyDMWg2n7v0TciJHh5eiXgDDoU86BEQL3hx975jk,269
|
|
@@ -310,15 +336,13 @@ autobyteus/tools/browser/session_aware/factory/__init__.py,sha256=47DEQpj8HBSa-_
|
|
|
310
336
|
autobyteus/tools/browser/session_aware/factory/browser_session_aware_web_element_trigger_factory.py,sha256=PsRjQMScKF3ceMEEFvlfr20OQ-sKdbQ6YWRrQffZF80,687
|
|
311
337
|
autobyteus/tools/browser/session_aware/factory/browser_session_aware_webpage_reader_factory.py,sha256=WmW9yU_KVjvDNSlxWPkdXljM9h4-zZRoZH7GP6sQndA,1335
|
|
312
338
|
autobyteus/tools/browser/session_aware/factory/browser_session_aware_webpage_screenshot_taker_factory.py,sha256=uxv7cLtlXg9Vdl82_r1K-wEHKfXzrmngGwT8rd5u4JQ,717
|
|
313
|
-
autobyteus/tools/browser/standalone/__init__.py,sha256=
|
|
314
|
-
autobyteus/tools/browser/standalone/google_search_ui.py,sha256=9tHusVs5jM2Zu1W48_YxAsePZJp9Z8-dOZptl7WURpM,5388
|
|
339
|
+
autobyteus/tools/browser/standalone/__init__.py,sha256=0J-_GM5vmp3iaHBDZXXRaj5gB3EGE0cRHJyJ3N-RDQg,324
|
|
315
340
|
autobyteus/tools/browser/standalone/navigate_to.py,sha256=Z_V0DRzu-1zwYXTVMaCbCl9ltuEAPqoz7wGvq2IVaoQ,3458
|
|
316
341
|
autobyteus/tools/browser/standalone/web_page_pdf_generator.py,sha256=UvRrUjJMVyBrG1JqTg67DCrOGboI44Hvard2UO_k9WM,4041
|
|
317
342
|
autobyteus/tools/browser/standalone/webpage_image_downloader.py,sha256=oH4dnEQBx8DVhitP4tozoHRVO9ue-rGA_ZSJJyJotUI,7159
|
|
318
343
|
autobyteus/tools/browser/standalone/webpage_reader.py,sha256=9N_NlbB7YnrT_MpkP_nLzWKYopMLM6eWJJ2wQmuGgVI,4254
|
|
319
344
|
autobyteus/tools/browser/standalone/webpage_screenshot_taker.py,sha256=iy9qwl2zLaHxlc4kuZuLo3Q3tJfWGmiSekXZJzHDOJU,4424
|
|
320
345
|
autobyteus/tools/browser/standalone/factory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
321
|
-
autobyteus/tools/browser/standalone/factory/google_search_factory.py,sha256=bgsRr7gix1L96sVwAF19pbQklPPYNEhz2Et6JdIViwE,1120
|
|
322
346
|
autobyteus/tools/browser/standalone/factory/webpage_reader_factory.py,sha256=R9PJPf7MF3cP8q8ffMKU5-ihPJWHJkVDYXZswZNdGS0,1131
|
|
323
347
|
autobyteus/tools/browser/standalone/factory/webpage_screenshot_taker_factory.py,sha256=NMS2laBlZAJiXPPub4YRhz1pXtZkfAeMhfRcSAfqu4M,597
|
|
324
348
|
autobyteus/tools/factory/__init__.py,sha256=EQXbTH6BcqK2SM3JEq2PkLwzZSczExv3KDvlhWHlsGQ,275
|
|
@@ -331,7 +355,7 @@ autobyteus/tools/handlers/shell_handler.py,sha256=ClTXqFR45iyD0gcoOPpKRX5p6g_6BI
|
|
|
331
355
|
autobyteus/tools/mcp/__init__.py,sha256=gwT34UgJe2rU5y4bYNOLI-PyAmRQTMWKz_WC4f2LcyE,1553
|
|
332
356
|
autobyteus/tools/mcp/config_service.py,sha256=7OoqZGVxBob4IeeBjChFCpwyI9IJIxlOQDh-OjCffrY,11466
|
|
333
357
|
autobyteus/tools/mcp/factory.py,sha256=SmPR6mgmwLEfzfole-zKuptKnSyeZEBi1t9gBbwCtZY,2204
|
|
334
|
-
autobyteus/tools/mcp/schema_mapper.py,sha256=
|
|
358
|
+
autobyteus/tools/mcp/schema_mapper.py,sha256=9lqT3_dgPf70arknDEccP0y-0Z8sb3bvl6nnW9t2N20,4413
|
|
335
359
|
autobyteus/tools/mcp/server_instance_manager.py,sha256=pGZZCH9Qp7n6jefwyDsvoo0Pxe7AWCcqIqnXgWt8hyg,6289
|
|
336
360
|
autobyteus/tools/mcp/tool.py,sha256=HpXSjvQjwwDzGGww1Cz3j4yCCLDiCYEv0RG-q-2BU4o,3380
|
|
337
361
|
autobyteus/tools/mcp/tool_registrar.py,sha256=RugX4TdiD6IfXF8S6cy2Ae-ZobT6RdRKdx7NLbcBMyI,11028
|
|
@@ -341,6 +365,9 @@ autobyteus/tools/mcp/server/base_managed_mcp_server.py,sha256=ep-EKh4uqorrNYvv7D
|
|
|
341
365
|
autobyteus/tools/mcp/server/http_managed_mcp_server.py,sha256=Kit7zcJxaRXfAXMxYqCKVcl4MfNsgRfXK9kjDaQFkMA,1969
|
|
342
366
|
autobyteus/tools/mcp/server/proxy.py,sha256=08F3m1I_IH2wrRXK29R_NPDB6ITHpo982Mq9G53hbUo,1660
|
|
343
367
|
autobyteus/tools/mcp/server/stdio_managed_mcp_server.py,sha256=a84GOnhWLg4vx6yo5dI8BlqUA_fdi0M5eNo2a-tGWwM,2085
|
|
368
|
+
autobyteus/tools/multimedia/__init__.py,sha256=RFmeHDRBJWk8Kn0uzR5m9MbIU1ggc1P0ZoDMKzK54c4,189
|
|
369
|
+
autobyteus/tools/multimedia/audio_tools.py,sha256=Nx2ALQH7Yga02ZGjanQ5bNPQhseoHBugVr5I86KvN0c,4621
|
|
370
|
+
autobyteus/tools/multimedia/image_tools.py,sha256=CapwBvNgKBdu4RN6DhCuCeNlZhUweEeIrLqAyVSWYBk,7625
|
|
344
371
|
autobyteus/tools/operation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
345
372
|
autobyteus/tools/operation/file_operation.py,sha256=bAehQ9PfHoCDpk9Wa7vx9h3ohzVuaGzzBUogxleTwq8,2375
|
|
346
373
|
autobyteus/tools/operation/file_rename_operation.py,sha256=pExiC69HUzYbKihlVumlGHMGxmmrsKQB0JfAM5x4JH0,1710
|
|
@@ -354,32 +381,32 @@ autobyteus/tools/usage/formatters/__init__.py,sha256=BThdI_R8Dkda1eHJFr1cQ7nLCgf
|
|
|
354
381
|
autobyteus/tools/usage/formatters/anthropic_json_example_formatter.py,sha256=EVVPZ7e1tG3QRcEPjdOC0yTvnGisubfUm9geWbd9r2g,792
|
|
355
382
|
autobyteus/tools/usage/formatters/anthropic_json_schema_formatter.py,sha256=Cwd4teoZcs64q1xemVYIW9lviH7A0t2jmg3W7TYv_Rs,869
|
|
356
383
|
autobyteus/tools/usage/formatters/base_formatter.py,sha256=15YQHEV-uHREoi5INA6KWVrniatMbBPIGz82bVkZos8,1283
|
|
357
|
-
autobyteus/tools/usage/formatters/default_json_example_formatter.py,sha256=
|
|
384
|
+
autobyteus/tools/usage/formatters/default_json_example_formatter.py,sha256=6U0Yf9j-5ZNdGNN2hwOv4PbnaJTvgdRKQcW2N8d-HM4,9069
|
|
358
385
|
autobyteus/tools/usage/formatters/default_json_schema_formatter.py,sha256=mZuHp_irHco3_S-VotSBvv5BRFDlTsmdmSIH3Ut71jY,958
|
|
359
|
-
autobyteus/tools/usage/formatters/default_xml_example_formatter.py,sha256=
|
|
360
|
-
autobyteus/tools/usage/formatters/default_xml_schema_formatter.py,sha256=
|
|
361
|
-
autobyteus/tools/usage/formatters/gemini_json_example_formatter.py,sha256=
|
|
386
|
+
autobyteus/tools/usage/formatters/default_xml_example_formatter.py,sha256=vGw6_vZTtcpamDOYykntz_-sYWTMLoXfPNN3WxuUDXc,7185
|
|
387
|
+
autobyteus/tools/usage/formatters/default_xml_schema_formatter.py,sha256=b27dLKG1MQo8SMxagJULEZQZ6zj0CwYm0ExjG2GwwjA,3698
|
|
388
|
+
autobyteus/tools/usage/formatters/gemini_json_example_formatter.py,sha256=sTlhoIwoW8jmvjIki3BVTzAIArk10jQabzndiv_mrs0,3866
|
|
362
389
|
autobyteus/tools/usage/formatters/gemini_json_schema_formatter.py,sha256=za6FhkrbDUcezc9-u4w4_ytQAQyR8OpKypC_CCTYlBY,875
|
|
363
|
-
autobyteus/tools/usage/formatters/google_json_example_formatter.py,sha256=
|
|
390
|
+
autobyteus/tools/usage/formatters/google_json_example_formatter.py,sha256=WCs_JS7JuJcVAdgIeuNM2nBl6_mxatTAWTduE1r5Lww,3908
|
|
364
391
|
autobyteus/tools/usage/formatters/google_json_schema_formatter.py,sha256=gKeuR_QhiebFGja303rg9q9CxgynJxIoCd4SrXuXRUU,868
|
|
365
|
-
autobyteus/tools/usage/formatters/openai_json_example_formatter.py,sha256=
|
|
392
|
+
autobyteus/tools/usage/formatters/openai_json_example_formatter.py,sha256=s_dSjtG7eF08PDJv2o8zfkilSJ2IzkyqI4yKFF9NwEo,4131
|
|
366
393
|
autobyteus/tools/usage/formatters/openai_json_schema_formatter.py,sha256=3pN4CnmWiBJaZMhV7qnWcSKPpyZ2cEdiU-FVMRfPT1w,948
|
|
367
394
|
autobyteus/tools/usage/parsers/__init__.py,sha256=4y235cYvUm60v30m4KCwQ4g9x9yP81QYBhSkUmjFWAU,915
|
|
368
395
|
autobyteus/tools/usage/parsers/_json_extractor.py,sha256=Q7BJsEcFkEZJ8q-ifIl-7t4FXZgFoFEwFXAGvKFYhCk,3601
|
|
369
396
|
autobyteus/tools/usage/parsers/anthropic_xml_tool_usage_parser.py,sha256=xAVq7bPlyfZK5YBVsNlXyyc-1J4kyVr4-wDNI0ekl_o,433
|
|
370
397
|
autobyteus/tools/usage/parsers/base_parser.py,sha256=iNHVUXMzAydnhYeEBgcXU0g8L_H9KTMavOEd-iwDLbk,1366
|
|
371
398
|
autobyteus/tools/usage/parsers/default_json_tool_usage_parser.py,sha256=jl-VKMubpgI15TuX7tyKmu_4WHb2YUVw5Yz2fy7GXkY,3480
|
|
372
|
-
autobyteus/tools/usage/parsers/default_xml_tool_usage_parser.py,sha256=
|
|
399
|
+
autobyteus/tools/usage/parsers/default_xml_tool_usage_parser.py,sha256=CQjOS1wkvl_BdRCqJlPYYMjqOh9x3C0WiPR_kUVgyI8,11778
|
|
373
400
|
autobyteus/tools/usage/parsers/exceptions.py,sha256=CncCSH4IJUYPaCTilj1oPgfZWdCycIxQBrWiSKuWXtc,468
|
|
374
401
|
autobyteus/tools/usage/parsers/gemini_json_tool_usage_parser.py,sha256=t0vQWhmf4t6-tGq6OeH4o-1w_3eeUxQjHDYNpQ5g6R4,3502
|
|
375
402
|
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=
|
|
403
|
+
autobyteus/tools/usage/parsers/provider_aware_tool_usage_parser.py,sha256=OVPQpNlDCvAIKE5kKXFUIMdaTTK3pyJW2oCQ_bkOPBk,2829
|
|
377
404
|
autobyteus/tools/usage/providers/__init__.py,sha256=C8GmfzYwzSS2OGv7MbvxtRe0OsIALvkC7rN7OWvA5p4,445
|
|
378
|
-
autobyteus/tools/usage/providers/tool_manifest_provider.py,sha256=
|
|
405
|
+
autobyteus/tools/usage/providers/tool_manifest_provider.py,sha256=r-q9YkNYXEbNApAjufvxGuU4JPiu78x6u60wjTZcnfM,4668
|
|
379
406
|
autobyteus/tools/usage/registries/__init__.py,sha256=S1jYYPqAjvD1rY0b8zkffBnKz8-_ptftfbgr1lqb7I8,547
|
|
380
407
|
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=
|
|
408
|
+
autobyteus/tools/usage/registries/tool_formatting_registry.py,sha256=zKUDxsoo7X3fw783lpJIzETzTlkXJGoHYmO2rXU1efI,3337
|
|
409
|
+
autobyteus/tools/usage/registries/tool_usage_parser_registry.py,sha256=kVgnq1hwTdb2C5SH5TGQLd6-bzDzfFLwk2qodrzwLWY,2667
|
|
383
410
|
autobyteus/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
384
411
|
autobyteus/utils/dynamic_enum.py,sha256=c_mgKtKrjb958LlCWeAApl1LMvVB7U_0SWl-8XFhRag,1339
|
|
385
412
|
autobyteus/utils/file_utils.py,sha256=QK0LvrwA5c9FDjpSrfPPEQbu_AirteJNiLad9yRahDY,512
|
|
@@ -438,18 +465,18 @@ autobyteus/workflow/streaming/workflow_stream_event_payloads.py,sha256=jv1bVYg-7
|
|
|
438
465
|
autobyteus/workflow/streaming/workflow_stream_events.py,sha256=75P29jNgcL7Go7D9wVz236KTwPfmqc5K7hUvVnc94K0,2221
|
|
439
466
|
autobyteus/workflow/utils/__init__.py,sha256=SzaMZHnJBIJKcT_r-HOeyIcuxzRu2bGeFkOcMLJaalk,222
|
|
440
467
|
autobyteus/workflow/utils/wait_for_idle.py,sha256=FgHtz59DN0eg8Na1PkkVR55Ihdd2e5Gn_mr7RVHl4qI,2001
|
|
441
|
-
autobyteus-1.1.
|
|
468
|
+
autobyteus-1.1.7.dist-info/licenses/LICENSE,sha256=Ompok_c8HRsXRwmax-pGR9OZRRxZC9RPp4JB6eTJd0M,1360
|
|
442
469
|
examples/__init__.py,sha256=BtTQJ6yeHyksK5GC3kfN6RFR6Gcrwq1TBmp6FIIj3Z8,40
|
|
443
470
|
examples/discover_phase_transitions.py,sha256=NiFK_XzDCpWwmNsQqf0Ou2w6L5bofKIKODq7sH5uPzk,3679
|
|
444
|
-
examples/run_browser_agent.py,sha256
|
|
445
|
-
examples/run_google_slides_agent.py,sha256=
|
|
471
|
+
examples/run_browser_agent.py,sha256=tpBJGIYYvVsNZAUo_WsZbhV_8fdeORUoHlQ8uQvnXPM,11737
|
|
472
|
+
examples/run_google_slides_agent.py,sha256=R3skoCO7gxNKCdqm_Px3YVlzSh5WzJc7KAxqO-x7sJc,13105
|
|
446
473
|
examples/run_mcp_browser_client.py,sha256=6vEBxGtAuGffkFk-gr3NvqetO84IdhNzip5Jp7V1tSc,6772
|
|
447
|
-
examples/run_mcp_google_slides_client.py,sha256=
|
|
474
|
+
examples/run_mcp_google_slides_client.py,sha256=l5B4sgDyyVEfL52WUiZw9mJjL5vOuD5ZJlnzIJbA-iw,11824
|
|
448
475
|
examples/run_mcp_list_tools.py,sha256=-dOM-7xyyDM2gp5e_8KZVGbX5ZxWqFQB9l-fHfR8XxY,7367
|
|
449
476
|
examples/run_poem_writer.py,sha256=wJsT4ZHwXw3MbPAESwyCkAMWWYt7KH5BLhEDQxA06XM,13145
|
|
450
|
-
examples/run_sqlite_agent.py,sha256=
|
|
477
|
+
examples/run_sqlite_agent.py,sha256=wy1Mp_F7RR0WmvfmxsPLG9JFPi6SpTVd0x_Ep76bUQ8,13159
|
|
451
478
|
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.
|
|
479
|
+
autobyteus-1.1.7.dist-info/METADATA,sha256=pgphbfB80cOcXlJd43NMVhIxaSSqOdJilDhTdo2ZyhE,10173
|
|
480
|
+
autobyteus-1.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
481
|
+
autobyteus-1.1.7.dist-info/top_level.txt,sha256=vNmK1Y8Irbc0iDPdRtr9gIx5eLM-c2v1ntItkzICzHU,20
|
|
482
|
+
autobyteus-1.1.7.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",
|
|
@@ -181,7 +181,7 @@ async def main(args: argparse.Namespace):
|
|
|
181
181
|
# 3. Discover and register tools by passing the config dictionary directly.
|
|
182
182
|
# The registrar will handle parsing, validation, and storage.
|
|
183
183
|
logger.info(f"Performing targeted discovery for remote Google Slides tools from server: '{server_id}'...")
|
|
184
|
-
await registrar.
|
|
184
|
+
await registrar.load_and_register_server(config_dict=google_slides_mcp_config_dict)
|
|
185
185
|
logger.info("Remote tool registration complete.")
|
|
186
186
|
|
|
187
187
|
# 4. Create tool instances from the registry for our agent.
|
|
@@ -251,7 +251,7 @@ async def main(args: argparse.Namespace):
|
|
|
251
251
|
|
|
252
252
|
if __name__ == "__main__":
|
|
253
253
|
parser = argparse.ArgumentParser(description="Run the GoogleSlidesAgent interactively.")
|
|
254
|
-
parser.add_argument("--llm-model", type=str, default="
|
|
254
|
+
parser.add_argument("--llm-model", type=str, default="kimi-latest", help=f"The LLM model identifier to use. Call --help-models for list.")
|
|
255
255
|
parser.add_argument("--help-models", action="store_true", help="Display available LLM models and exit.")
|
|
256
256
|
parser.add_argument("--debug", action="store_true", help="Enable debug logging.")
|
|
257
257
|
parser.add_argument("--agent-log-file", type=str, default="./agent_logs_gslides.txt",
|
|
@@ -177,7 +177,7 @@ async def main():
|
|
|
177
177
|
try:
|
|
178
178
|
# 3. Discover and register tools by passing the config dictionary directly.
|
|
179
179
|
logger.info(f"Performing targeted discovery for remote tools from server '{server_id}'...")
|
|
180
|
-
await registrar.
|
|
180
|
+
await registrar.load_and_register_server(config_dict=google_slides_mcp_config_dict)
|
|
181
181
|
# Use the ToolRegistry to get tools by their source server ID.
|
|
182
182
|
registered_tool_defs = tool_registry.get_tools_by_mcp_server(server_id)
|
|
183
183
|
logger.info(f"Tool registration complete. Discovered tools: {[t.name for t in registered_tool_defs]}")
|
examples/run_sqlite_agent.py
CHANGED
|
@@ -189,7 +189,7 @@ async def main(args: argparse.Namespace):
|
|
|
189
189
|
try:
|
|
190
190
|
# 3. Discover and register tools by passing the config dictionary directly.
|
|
191
191
|
logger.info(f"Performing targeted discovery for remote SQLite tools from server: '{server_id}'...")
|
|
192
|
-
await registrar.
|
|
192
|
+
await registrar.load_and_register_server(config_dict=sqlite_mcp_config_dict)
|
|
193
193
|
logger.info("Remote tool registration complete.")
|
|
194
194
|
|
|
195
195
|
# 4. Create tool instances from the registry for our agent.
|
|
@@ -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
|
-
)
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import asyncio
|
|
2
|
-
import logging
|
|
3
|
-
from typing import TYPE_CHECKING
|
|
4
|
-
|
|
5
|
-
from autobyteus.tools import tool # Main @tool decorator
|
|
6
|
-
from autobyteus.tools.tool_category import ToolCategory
|
|
7
|
-
|
|
8
|
-
if TYPE_CHECKING:
|
|
9
|
-
from autobyteus.agent.context import AgentContext
|
|
10
|
-
|
|
11
|
-
logger = logging.getLogger(__name__)
|
|
12
|
-
|
|
13
|
-
@tool(name="AskUserInput", category=ToolCategory.USER_INTERACTION)
|
|
14
|
-
async def ask_user_input(context: 'AgentContext', request: str) -> str: # Function name can be ask_user_input
|
|
15
|
-
"""
|
|
16
|
-
Requests input from the user based on a given prompt and returns the user's textual response.
|
|
17
|
-
'request' is the prompt or question to present to the user.
|
|
18
|
-
"""
|
|
19
|
-
logger.info(f"Functional AskUserInput tool (agent {context.agent_id}) requesting user input: {request}")
|
|
20
|
-
|
|
21
|
-
try:
|
|
22
|
-
loop = asyncio.get_event_loop()
|
|
23
|
-
user_input_str = await loop.run_in_executor(
|
|
24
|
-
None,
|
|
25
|
-
lambda: input(f"LLM Agent ({context.agent_id}): {request}\nUser: ")
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
logger.info(f"User input received for agent {context.agent_id}: '{user_input_str[:50]}...'")
|
|
29
|
-
return user_input_str
|
|
30
|
-
|
|
31
|
-
except KeyboardInterrupt:
|
|
32
|
-
logger.warning(f"User interrupted input process for agent {context.agent_id}.")
|
|
33
|
-
return "[Input process interrupted by user]"
|
|
34
|
-
except EOFError:
|
|
35
|
-
logger.warning(f"EOF error during input for agent {context.agent_id}.")
|
|
36
|
-
return "[EOF error occurred during input]"
|
|
37
|
-
except Exception as e:
|
|
38
|
-
error_message = f"An error occurred while getting user input: {str(e)}"
|
|
39
|
-
logger.error(error_message, exc_info=True)
|
|
40
|
-
return f"[Error getting user input: {error_message}]"
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
from autobyteus.tools.factory.tool_factory import ToolFactory
|
|
2
|
-
from autobyteus.tools.browser.standalone.google_search_ui import GoogleSearch
|
|
3
|
-
from autobyteus.utils.html_cleaner import CleaningMode
|
|
4
|
-
from typing import Optional, TYPE_CHECKING
|
|
5
|
-
|
|
6
|
-
if TYPE_CHECKING:
|
|
7
|
-
from autobyteus.tools.tool_config import ToolConfig
|
|
8
|
-
|
|
9
|
-
class GoogleSearchFactory(ToolFactory):
|
|
10
|
-
def __init__(self, cleaning_mode: CleaningMode = CleaningMode.THOROUGH):
|
|
11
|
-
self.cleaning_mode = cleaning_mode
|
|
12
|
-
|
|
13
|
-
def create_tool(self, config: Optional['ToolConfig'] = None) -> GoogleSearch:
|
|
14
|
-
"""
|
|
15
|
-
Creates an instance of GoogleSearch.
|
|
16
|
-
The 'config' parameter is ignored; configuration is set during factory initialization.
|
|
17
|
-
"""
|
|
18
|
-
# This factory passes its own configuration to the tool's constructor.
|
|
19
|
-
# The tool's constructor expects a ToolConfig object.
|
|
20
|
-
from autobyteus.tools.tool_config import ToolConfig as ConcreteToolConfig
|
|
21
|
-
|
|
22
|
-
tool_creation_config = ConcreteToolConfig(
|
|
23
|
-
params={"cleaning_mode": self.cleaning_mode}
|
|
24
|
-
)
|
|
25
|
-
return GoogleSearch(config=tool_creation_config)
|