solace-agent-mesh 1.5.0__py3-none-any.whl → 1.5.1__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.
Potentially problematic release.
This version of solace-agent-mesh might be problematic. Click here for more details.
- solace_agent_mesh/agent/adk/callbacks.py +14 -12
- solace_agent_mesh/agent/adk/embed_resolving_mcp_toolset.py +3 -1
- solace_agent_mesh/agent/adk/intelligent_mcp_callbacks.py +2 -1
- solace_agent_mesh/agent/adk/mcp_content_processor.py +2 -1
- solace_agent_mesh/agent/adk/runner.py +3 -1
- solace_agent_mesh/agent/adk/services.py +4 -1
- solace_agent_mesh/agent/adk/setup.py +3 -1
- solace_agent_mesh/agent/adk/tool_wrapper.py +2 -2
- solace_agent_mesh/agent/protocol/event_handlers.py +2 -1
- solace_agent_mesh/agent/sac/app.py +3 -1
- solace_agent_mesh/agent/sac/component.py +4 -1
- solace_agent_mesh/agent/tools/audio_tools.py +2 -1
- solace_agent_mesh/agent/tools/builtin_artifact_tools.py +3 -1
- solace_agent_mesh/agent/tools/builtin_data_analysis_tools.py +3 -1
- solace_agent_mesh/agent/tools/dynamic_tool.py +2 -1
- solace_agent_mesh/agent/tools/general_agent_tools.py +2 -1
- solace_agent_mesh/agent/tools/image_tools.py +2 -1
- solace_agent_mesh/agent/tools/peer_agent_tool.py +2 -1
- solace_agent_mesh/agent/tools/registry.py +3 -1
- solace_agent_mesh/agent/tools/test_tools.py +2 -1
- solace_agent_mesh/agent/tools/web_tools.py +2 -1
- solace_agent_mesh/agent/utils/artifact_helpers.py +3 -1
- solace_agent_mesh/agent/utils/config_parser.py +3 -1
- solace_agent_mesh/assets/docs/404.html +3 -3
- solace_agent_mesh/assets/docs/assets/js/{b7006a3a.73a79653.js → 032c2d61.f3d37824.js} +1 -1
- solace_agent_mesh/assets/docs/assets/js/0bcf40b7.c019ad46.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/15ba94aa.932dd2db.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/2131ec11.5c7a1f6e.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/{2334.622a6395.js → 2334.1cf50a20.js} +1 -1
- solace_agent_mesh/assets/docs/assets/js/240a0364.7eac6021.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/2e32b5e0.33f5d75b.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/341393d4.0fac2613.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/{3624.b524e433.js → 3624.0eaa1fd0.js} +1 -1
- solace_agent_mesh/assets/docs/assets/js/3a6c6137.f5940cfa.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/3ac1795d.76654dd9.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/3ff0015d.2be20244.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/509e993c.4c7a1a6d.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/547e15cc.2cbb060a.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/55b7b518.f2b1d1ba.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/5c2bd65f.e49689dd.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/6063ff4c.ef84f702.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/631738c7.a8b1ef8b.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/6a520c9d.ba015d81.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/6ad8f0bd.39d5851d.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/6d84eae0.4a5fbf39.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/6fdfefc7.99de744e.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/71da7b71.804d6567.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/722f809d.965da774.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/742f027b.46c07808.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/77cf947d.64c9bd6c.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/8024126c.56e59919.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/81a99df0.07034dd9.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/82fbfb93.139a1a1f.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/{8591.d7c16be6.js → 8591.5d015485.js} +2 -2
- solace_agent_mesh/assets/docs/assets/js/{8731.49e930c2.js → 8731.6c1dbf0c.js} +1 -1
- solace_agent_mesh/assets/docs/assets/js/945fb41e.6f4cdffd.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/94e8668d.b5ddb7a1.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/9bb13469.dd1c9b54.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/9e9d0a82.dd810042.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/ab9708a8.3e6dd091.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/ad71b5ed.60668e9e.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/c198a0dc.8f31f867.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/c93cbaa0.eaff365e.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/da0b5bad.9d369087.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/db924877.cbc66f02.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/dd817ffc.0aa9630a.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/dd81e2b8.d590bc9e.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/de5f4c65.e8241890.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/de915948.139b4b9c.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/e3d9abda.2b916f9e.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/e6f9706b.582a78ca.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/e92d0134.cf6d6522.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/f284c35a.5766a13d.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/ff4d71f2.9c0297a6.js +1 -0
- solace_agent_mesh/assets/docs/assets/js/main.bd3c34f3.js +2 -0
- solace_agent_mesh/assets/docs/assets/js/runtime~main.18dc45dd.js +1 -0
- solace_agent_mesh/assets/docs/docs/documentation/components/agents/index.html +143 -0
- solace_agent_mesh/assets/docs/docs/documentation/{user-guide → components}/builtin-tools/artifact-management/index.html +7 -7
- solace_agent_mesh/assets/docs/docs/documentation/{user-guide → components}/builtin-tools/audio-tools/index.html +7 -7
- solace_agent_mesh/assets/docs/docs/documentation/{user-guide → components}/builtin-tools/data-analysis-tools/index.html +8 -8
- solace_agent_mesh/assets/docs/docs/documentation/{user-guide → components}/builtin-tools/embeds/index.html +6 -6
- solace_agent_mesh/assets/docs/docs/documentation/{user-guide → components}/builtin-tools/index.html +11 -11
- solace_agent_mesh/assets/docs/docs/documentation/{concepts → components}/cli/index.html +25 -25
- solace_agent_mesh/assets/docs/docs/documentation/components/gateways/index.html +91 -0
- solace_agent_mesh/assets/docs/docs/documentation/components/index.html +29 -0
- solace_agent_mesh/assets/docs/docs/documentation/components/orchestrator/index.html +55 -0
- solace_agent_mesh/assets/docs/docs/documentation/components/plugins/index.html +110 -0
- solace_agent_mesh/assets/docs/docs/documentation/deploying/debugging/index.html +104 -0
- solace_agent_mesh/assets/docs/docs/documentation/deploying/deployment-options/index.html +57 -0
- solace_agent_mesh/assets/docs/docs/documentation/deploying/index.html +25 -0
- solace_agent_mesh/assets/docs/docs/documentation/deploying/observability/index.html +59 -0
- solace_agent_mesh/assets/docs/docs/documentation/{user-guide → developing}/create-agents/index.html +113 -152
- solace_agent_mesh/assets/docs/docs/documentation/{user-guide → developing}/create-gateways/index.html +9 -9
- solace_agent_mesh/assets/docs/docs/documentation/{user-guide → developing}/creating-python-tools/index.html +12 -12
- solace_agent_mesh/assets/docs/docs/documentation/developing/creating-service-providers/index.html +54 -0
- solace_agent_mesh/assets/docs/docs/documentation/developing/index.html +32 -0
- solace_agent_mesh/assets/docs/docs/documentation/developing/structure/index.html +55 -0
- solace_agent_mesh/assets/docs/docs/documentation/{tutorials → developing/tutorials}/bedrock-agents/index.html +25 -25
- solace_agent_mesh/assets/docs/docs/documentation/{tutorials → developing/tutorials}/custom-agent/index.html +13 -13
- solace_agent_mesh/assets/docs/docs/documentation/{tutorials → developing/tutorials}/event-mesh-gateway/index.html +11 -11
- solace_agent_mesh/assets/docs/docs/documentation/{tutorials → developing/tutorials}/mcp-integration/index.html +10 -10
- solace_agent_mesh/assets/docs/docs/documentation/{tutorials → developing/tutorials}/mongodb-integration/index.html +13 -13
- solace_agent_mesh/assets/docs/docs/documentation/{tutorials → developing/tutorials}/rag-integration/index.html +13 -13
- solace_agent_mesh/assets/docs/docs/documentation/{tutorials → developing/tutorials}/rest-gateway/index.html +10 -10
- solace_agent_mesh/assets/docs/docs/documentation/developing/tutorials/slack-integration/index.html +72 -0
- solace_agent_mesh/assets/docs/docs/documentation/{tutorials → developing/tutorials}/sql-database/index.html +14 -14
- solace_agent_mesh/assets/docs/docs/documentation/enterprise/index.html +33 -0
- solace_agent_mesh/assets/docs/docs/documentation/enterprise/installation/index.html +83 -0
- solace_agent_mesh/assets/docs/docs/documentation/enterprise/rbac-setup-guide/index.html +222 -0
- solace_agent_mesh/assets/docs/docs/documentation/enterprise/single-sign-on/index.html +161 -0
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/architecture/index.html +75 -0
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/index.html +53 -0
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/introduction/index.html +35 -100
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/try-agent-mesh/index.html +41 -0
- solace_agent_mesh/assets/docs/docs/documentation/{getting-started → installing-and-configuring}/configurations/index.html +56 -50
- solace_agent_mesh/assets/docs/docs/documentation/installing-and-configuring/index.html +25 -0
- solace_agent_mesh/assets/docs/docs/documentation/installing-and-configuring/installation/index.html +76 -0
- solace_agent_mesh/assets/docs/docs/documentation/installing-and-configuring/large_language_models/index.html +63 -0
- solace_agent_mesh/assets/docs/docs/documentation/installing-and-configuring/run-project/index.html +142 -0
- solace_agent_mesh/assets/docs/docs/documentation/migrations/a2a-upgrade/a2a-gateway-upgrade-to-0.3.0/index.html +100 -0
- solace_agent_mesh/assets/docs/docs/documentation/{Migrations/A2A Upgrade To 0.3.0/a2a-technical-migration-map/index.html → migrations/a2a-upgrade/a2a-technical-migration-map/index.html} +10 -11
- solace_agent_mesh/assets/docs/img/solace-logo.png +0 -0
- solace_agent_mesh/assets/docs/lunr-index-1760121512891.json +1 -0
- solace_agent_mesh/assets/docs/lunr-index.json +1 -1
- solace_agent_mesh/assets/docs/search-doc-1760121512891.json +1 -0
- solace_agent_mesh/assets/docs/search-doc.json +1 -1
- solace_agent_mesh/assets/docs/sitemap.xml +1 -1
- solace_agent_mesh/cli/__init__.py +1 -1
- solace_agent_mesh/client/webui/frontend/static/assets/{main-C__uuUkB.js → main-2nd1gbaH.js} +1 -1
- solace_agent_mesh/client/webui/frontend/static/assets/{main-CZbpmwfA.css → main-DoKXctCM.css} +1 -1
- solace_agent_mesh/client/webui/frontend/static/index.html +2 -2
- solace_agent_mesh/common/a2a/artifact.py +2 -1
- solace_agent_mesh/common/a2a/protocol.py +3 -2
- solace_agent_mesh/common/a2a/translation.py +3 -1
- solace_agent_mesh/common/middleware/config_resolver.py +3 -1
- solace_agent_mesh/common/middleware/registry.py +3 -1
- solace_agent_mesh/common/sac/sam_component_base.py +2 -1
- solace_agent_mesh/common/sam_events/event_service.py +3 -2
- solace_agent_mesh/common/services/employee_service.py +3 -1
- solace_agent_mesh/common/services/identity_service.py +2 -1
- solace_agent_mesh/common/services/providers/local_file_identity_service.py +2 -1
- solace_agent_mesh/common/utils/artifact_utils.py +3 -1
- solace_agent_mesh/common/utils/asyncio_macos_fix.py +3 -1
- solace_agent_mesh/common/utils/embeds/converter.py +3 -1
- solace_agent_mesh/common/utils/embeds/evaluators.py +2 -1
- solace_agent_mesh/common/utils/embeds/modifiers.py +3 -2
- solace_agent_mesh/common/utils/embeds/resolver.py +2 -1
- solace_agent_mesh/common/utils/initializer.py +3 -1
- solace_agent_mesh/common/utils/message_utils.py +2 -1
- solace_agent_mesh/common/utils/push_notification_auth.py +3 -2
- solace_agent_mesh/core_a2a/service.py +2 -2
- solace_agent_mesh/gateway/base/app.py +2 -1
- solace_agent_mesh/gateway/base/component.py +3 -1
- solace_agent_mesh/gateway/base/task_context.py +2 -1
- solace_agent_mesh/gateway/http_sse/app.py +2 -1
- solace_agent_mesh/gateway/http_sse/component.py +4 -1
- solace_agent_mesh/gateway/http_sse/components/task_logger_forwarder.py +3 -2
- solace_agent_mesh/gateway/http_sse/components/visualization_forwarder_component.py +3 -1
- solace_agent_mesh/gateway/http_sse/dependencies.py +3 -1
- solace_agent_mesh/gateway/http_sse/main.py +3 -1
- solace_agent_mesh/gateway/http_sse/routers/agent_cards.py +3 -2
- solace_agent_mesh/gateway/http_sse/routers/artifacts.py +2 -2
- solace_agent_mesh/gateway/http_sse/routers/auth.py +3 -1
- solace_agent_mesh/gateway/http_sse/routers/config.py +3 -2
- solace_agent_mesh/gateway/http_sse/routers/people.py +3 -1
- solace_agent_mesh/gateway/http_sse/routers/sessions.py +3 -1
- solace_agent_mesh/gateway/http_sse/routers/sse.py +3 -2
- solace_agent_mesh/gateway/http_sse/routers/tasks.py +2 -1
- solace_agent_mesh/gateway/http_sse/routers/users.py +3 -1
- solace_agent_mesh/gateway/http_sse/routers/visualization.py +2 -1
- solace_agent_mesh/gateway/http_sse/services/agent_card_service.py +3 -1
- solace_agent_mesh/gateway/http_sse/services/data_retention_service.py +2 -1
- solace_agent_mesh/gateway/http_sse/services/feedback_service.py +2 -1
- solace_agent_mesh/gateway/http_sse/services/people_service.py +2 -2
- solace_agent_mesh/gateway/http_sse/services/session_service.py +3 -1
- solace_agent_mesh/gateway/http_sse/services/task_logger_service.py +2 -1
- solace_agent_mesh/gateway/http_sse/services/task_service.py +3 -2
- solace_agent_mesh/gateway/http_sse/session_manager.py +2 -1
- solace_agent_mesh/gateway/http_sse/sse_event_buffer.py +2 -1
- solace_agent_mesh/gateway/http_sse/sse_manager.py +2 -2
- solace_agent_mesh/templates/gateway_app_template.py +4 -2
- solace_agent_mesh/templates/gateway_component_template.py +3 -1
- solace_agent_mesh/templates/logging_config_template.ini +22 -45
- solace_agent_mesh/templates/plugin_tools_template.py +2 -2
- {solace_agent_mesh-1.5.0.dist-info → solace_agent_mesh-1.5.1.dist-info}/METADATA +2 -2
- {solace_agent_mesh-1.5.0.dist-info → solace_agent_mesh-1.5.1.dist-info}/RECORD +191 -183
- solace_agent_mesh/assets/docs/assets/images/sac-flows-80d5b603c6aafd33e87945680ce0abf3.png +0 -0
- solace_agent_mesh/assets/docs/assets/images/sac_parts_of_a_component-cb3d0424b1d0c17734c5435cca6b4082.png +0 -0
- solace_agent_mesh/assets/docs/assets/js/04989206.a248f00c.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/0e682baa.d54b8668.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/1023fc19.8a8a9309.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/1523c6b4.2645ef68.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/166ab619.e27886d9.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/1c6e87d2.e056b7e0.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/21ceee5f.3bf39250.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/2a9cab12.2afaee76.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/332e10b5.f7629851.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/3d406171.5560fdf9.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/42b3f8d8.508ae8db.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/442a8107.b5c2532a.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/453a82a6.3c6bb61d.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/483cef9a.bf9398af.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/4c2787c2.c1290a40.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/55f47984.bcd00a86.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/5b4258a4.fdfd2325.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/664b740a.ba305a89.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/75384d09.c19e8b51.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/768e31b0.9abcdc48.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/85387663.be2bc838.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/945fb41e.16e00776.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/9a09e75d.92de8cf5.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/9eff14a2.d62aad71.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/a12a4955.25fbed32.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/a3a92b25.af35e313.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/aba87c2f.4ddf32f2.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/ae0e903d.5fe5203f.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/ae4415af.16cc58d3.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/bac0be12.17de4316.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/c2c06897.87cb1f47.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/c835a94d.ce21f0bf.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/cc969b05.feef7dcc.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/cd3d4052.a19e7d78.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/ced92a13.fb92e7ca.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/cee5d587.47904f5e.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/d6a81ee7.829198f1.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/f284c35a.ed8dd236.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/f897a61a.126663fe.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/fbfa3e75.e144b16c.js +0 -1
- solace_agent_mesh/assets/docs/assets/js/main.0c149855.js +0 -2
- solace_agent_mesh/assets/docs/assets/js/runtime~main.c66557e4.js +0 -1
- solace_agent_mesh/assets/docs/docs/documentation/Enterprise/installation/index.html +0 -46
- solace_agent_mesh/assets/docs/docs/documentation/Enterprise/rbac-setup-guilde/index.html +0 -201
- solace_agent_mesh/assets/docs/docs/documentation/Enterprise/single-sign-on/index.html +0 -29
- solace_agent_mesh/assets/docs/docs/documentation/Migrations/A2A Upgrade To 0.3.0/a2a-gateway-upgrade-to-0.3.0/index.html +0 -105
- solace_agent_mesh/assets/docs/docs/documentation/concepts/agents/index.html +0 -144
- solace_agent_mesh/assets/docs/docs/documentation/concepts/architecture/index.html +0 -91
- solace_agent_mesh/assets/docs/docs/documentation/concepts/gateways/index.html +0 -91
- solace_agent_mesh/assets/docs/docs/documentation/concepts/orchestrator/index.html +0 -55
- solace_agent_mesh/assets/docs/docs/documentation/concepts/plugins/index.html +0 -111
- solace_agent_mesh/assets/docs/docs/documentation/deployment/debugging/index.html +0 -77
- solace_agent_mesh/assets/docs/docs/documentation/deployment/deploy/index.html +0 -48
- solace_agent_mesh/assets/docs/docs/documentation/deployment/observability/index.html +0 -54
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/component-overview/index.html +0 -45
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/configurations/litellm_models/index.html +0 -49
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/installation/index.html +0 -76
- solace_agent_mesh/assets/docs/docs/documentation/getting-started/quick-start/index.html +0 -73
- solace_agent_mesh/assets/docs/docs/documentation/tutorials/slack-integration/index.html +0 -72
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/creating-service-providers/index.html +0 -54
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/solace-ai-connector/index.html +0 -69
- solace_agent_mesh/assets/docs/docs/documentation/user-guide/structure/index.html +0 -59
- solace_agent_mesh/assets/docs/lunr-index-1760032255022.json +0 -1
- solace_agent_mesh/assets/docs/search-doc-1760032255022.json +0 -1
- /solace_agent_mesh/assets/docs/assets/js/{8591.d7c16be6.js.LICENSE.txt → 8591.5d015485.js.LICENSE.txt} +0 -0
- /solace_agent_mesh/assets/docs/assets/js/{main.0c149855.js.LICENSE.txt → main.bd3c34f3.js.LICENSE.txt} +0 -0
- {solace_agent_mesh-1.5.0.dist-info → solace_agent_mesh-1.5.1.dist-info}/WHEEL +0 -0
- {solace_agent_mesh-1.5.0.dist-info → solace_agent_mesh-1.5.1.dist-info}/entry_points.txt +0 -0
- {solace_agent_mesh-1.5.0.dist-info → solace_agent_mesh-1.5.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -4,6 +4,7 @@ Includes dynamic instruction injection, artifact metadata injection,
|
|
|
4
4
|
embed resolution, and logging.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
+
import logging
|
|
7
8
|
import json
|
|
8
9
|
import asyncio
|
|
9
10
|
import uuid
|
|
@@ -18,7 +19,7 @@ from google.adk.models.llm_request import LlmRequest
|
|
|
18
19
|
from google.adk.models.llm_response import LlmResponse
|
|
19
20
|
from google.genai import types as adk_types
|
|
20
21
|
from google.adk.tools.mcp_tool import MCPTool
|
|
21
|
-
|
|
22
|
+
|
|
22
23
|
from .intelligent_mcp_callbacks import (
|
|
23
24
|
save_mcp_response_as_artifact_intelligent,
|
|
24
25
|
McpSaveStatus,
|
|
@@ -76,6 +77,8 @@ from ...agent.adk.stream_parser import (
|
|
|
76
77
|
ARTIFACT_BLOCK_DELIMITER_CLOSE,
|
|
77
78
|
)
|
|
78
79
|
|
|
80
|
+
log = logging.getLogger(__name__)
|
|
81
|
+
|
|
79
82
|
A2A_LLM_STREAM_CHUNKS_PROCESSED_KEY = "temp:llm_stream_chunks_processed"
|
|
80
83
|
|
|
81
84
|
if TYPE_CHECKING:
|
|
@@ -775,17 +778,16 @@ def _generate_fenced_artifact_instruction() -> str:
|
|
|
775
778
|
To create an artifact from content you generate (like code, a report, or a document), you MUST use a special `save_artifact` block. This is the only reliable way to ensure your content is saved correctly.
|
|
776
779
|
|
|
777
780
|
**Syntax:**
|
|
778
|
-
```
|
|
779
781
|
{open_delim}save_artifact: filename="your_filename.ext" mime_type="text/plain" description="A brief description."
|
|
780
782
|
The full content you want to save goes here.
|
|
781
783
|
It can span multiple lines.
|
|
782
784
|
{close_delim}
|
|
783
|
-
```
|
|
784
785
|
|
|
785
786
|
- **Rules:**
|
|
786
787
|
- The parameters `filename` and `mime_type` are required. `description` is optional but recommended.
|
|
787
788
|
- All parameter values **MUST** be enclosed in double quotes.
|
|
788
789
|
- You **MUST NOT** use double quotes `"` inside the parameter values (e.g., within the description string). Use single quotes or rephrase instead.
|
|
790
|
+
- Do not surround a save_artifact block with '```' (triple backticks). This will create rendering issues.
|
|
789
791
|
|
|
790
792
|
The system will automatically save the content and give you a confirmation in the next turn."""
|
|
791
793
|
|
|
@@ -1484,32 +1486,32 @@ def solace_llm_response_callback(
|
|
|
1484
1486
|
"type": "llm_response",
|
|
1485
1487
|
"data": llm_response.model_dump(exclude_none=True),
|
|
1486
1488
|
}
|
|
1487
|
-
|
|
1489
|
+
|
|
1488
1490
|
# Extract and record token usage
|
|
1489
1491
|
if llm_response.usage_metadata:
|
|
1490
1492
|
usage = llm_response.usage_metadata
|
|
1491
1493
|
model_name = callback_context.state.get("model_name", "unknown")
|
|
1492
|
-
|
|
1494
|
+
|
|
1493
1495
|
usage_dict = {
|
|
1494
1496
|
"input_tokens": usage.prompt_token_count,
|
|
1495
1497
|
"output_tokens": usage.candidates_token_count,
|
|
1496
1498
|
"model": model_name,
|
|
1497
1499
|
}
|
|
1498
|
-
|
|
1500
|
+
|
|
1499
1501
|
# Check for cached tokens (provider-specific)
|
|
1500
1502
|
cached_tokens = 0
|
|
1501
|
-
if hasattr(usage,
|
|
1502
|
-
cached_tokens = getattr(usage.prompt_tokens_details,
|
|
1503
|
+
if hasattr(usage, "prompt_tokens_details") and usage.prompt_tokens_details:
|
|
1504
|
+
cached_tokens = getattr(usage.prompt_tokens_details, "cached_tokens", 0)
|
|
1503
1505
|
if cached_tokens > 0:
|
|
1504
1506
|
usage_dict["cached_input_tokens"] = cached_tokens
|
|
1505
|
-
|
|
1507
|
+
|
|
1506
1508
|
# Add to response data
|
|
1507
1509
|
llm_response_data["usage"] = usage_dict
|
|
1508
|
-
|
|
1510
|
+
|
|
1509
1511
|
# Record in task context for aggregation
|
|
1510
1512
|
with host_component.active_tasks_lock:
|
|
1511
1513
|
task_context = host_component.active_tasks.get(logical_task_id)
|
|
1512
|
-
|
|
1514
|
+
|
|
1513
1515
|
if task_context:
|
|
1514
1516
|
task_context.record_token_usage(
|
|
1515
1517
|
input_tokens=usage.prompt_token_count,
|
|
@@ -1526,7 +1528,7 @@ def solace_llm_response_callback(
|
|
|
1526
1528
|
cached_tokens,
|
|
1527
1529
|
model_name,
|
|
1528
1530
|
)
|
|
1529
|
-
|
|
1531
|
+
|
|
1530
1532
|
# This signal doesn't have a dedicated Pydantic model, so we create the
|
|
1531
1533
|
# DataPart directly and use the lower-level helpers.
|
|
1532
1534
|
data_part = a2a.create_data_part(data=llm_response_data)
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Custom MCPToolset that resolves embeds in tool parameters before calling MCP tools.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import asyncio
|
|
6
7
|
from typing import Dict, List, Optional, Any
|
|
7
8
|
|
|
@@ -12,7 +13,7 @@ from google.adk.tools.mcp_tool.mcp_session_manager import (
|
|
|
12
13
|
StreamableHTTPConnectionParams,
|
|
13
14
|
)
|
|
14
15
|
from google.adk.tools.tool_context import ToolContext
|
|
15
|
-
|
|
16
|
+
|
|
16
17
|
|
|
17
18
|
from ..utils.context_helpers import get_original_session_id
|
|
18
19
|
from ...common.utils.embeds import (
|
|
@@ -23,6 +24,7 @@ from ...common.utils.embeds import (
|
|
|
23
24
|
EMBED_DELIMITER_OPEN,
|
|
24
25
|
)
|
|
25
26
|
|
|
27
|
+
log = logging.getLogger(__name__)
|
|
26
28
|
|
|
27
29
|
class EmbedResolvingMCPTool(MCPTool):
|
|
28
30
|
"""
|
|
@@ -5,6 +5,7 @@ This module contains the refactored MCP callback functions that use intelligent
|
|
|
5
5
|
content processing to save MCP tool responses as appropriately typed artifacts.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
+
import logging
|
|
8
9
|
import json
|
|
9
10
|
import uuid
|
|
10
11
|
from datetime import datetime, timezone
|
|
@@ -13,7 +14,6 @@ from enum import Enum
|
|
|
13
14
|
from pydantic import BaseModel
|
|
14
15
|
|
|
15
16
|
from google.adk.tools import ToolContext, BaseTool
|
|
16
|
-
from solace_ai_connector.common.log import log
|
|
17
17
|
|
|
18
18
|
from .mcp_content_processor import MCPContentProcessor, MCPContentProcessorConfig
|
|
19
19
|
from ...agent.utils.artifact_helpers import (
|
|
@@ -22,6 +22,7 @@ from ...agent.utils.artifact_helpers import (
|
|
|
22
22
|
)
|
|
23
23
|
from ...agent.utils.context_helpers import get_original_session_id
|
|
24
24
|
|
|
25
|
+
log = logging.getLogger(__name__)
|
|
25
26
|
|
|
26
27
|
if TYPE_CHECKING:
|
|
27
28
|
from ...agent.sac.component import SamAgentComponent
|
|
@@ -12,6 +12,7 @@ Supports:
|
|
|
12
12
|
- Resource content with URI-based filename extraction
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
|
+
import logging
|
|
15
16
|
import base64
|
|
16
17
|
import csv
|
|
17
18
|
import json
|
|
@@ -23,7 +24,7 @@ from io import StringIO
|
|
|
23
24
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
24
25
|
from urllib.parse import urlparse
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
log = logging.getLogger(__name__)
|
|
27
28
|
|
|
28
29
|
from ...common.utils.mime_helpers import (
|
|
29
30
|
is_text_based_mime_type,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Manages the asynchronous execution of the ADK Runner.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import asyncio
|
|
6
7
|
|
|
7
8
|
from google.adk.agents.invocation_context import LlmCallsLimitExceededError
|
|
@@ -21,10 +22,11 @@ from google.adk.events import Event as ADKEvent
|
|
|
21
22
|
from google.adk.events.event_actions import EventActions
|
|
22
23
|
from google.adk.sessions import Session as ADKSession
|
|
23
24
|
from google.genai import types as adk_types
|
|
24
|
-
from solace_ai_connector.common.log import log
|
|
25
25
|
|
|
26
26
|
from ...common import a2a
|
|
27
27
|
|
|
28
|
+
log = logging.getLogger(__name__)
|
|
29
|
+
|
|
28
30
|
if TYPE_CHECKING:
|
|
29
31
|
from ..sac.component import SamAgentComponent
|
|
30
32
|
from ..sac.task_execution_context import TaskExecutionContext
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
Initializes ADK Services based on configuration.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import os
|
|
6
7
|
import re
|
|
7
8
|
from typing import Dict, Optional, List, Any
|
|
8
9
|
from typing_extensions import override
|
|
9
10
|
|
|
10
11
|
from google.genai import types as adk_types
|
|
11
|
-
|
|
12
|
+
|
|
12
13
|
|
|
13
14
|
from google.adk.sessions import (
|
|
14
15
|
BaseSessionService,
|
|
@@ -29,6 +30,8 @@ from google.adk.memory import (
|
|
|
29
30
|
|
|
30
31
|
from .artifacts.filesystem_artifact_service import FilesystemArtifactService
|
|
31
32
|
|
|
33
|
+
log = logging.getLogger(__name__)
|
|
34
|
+
|
|
32
35
|
try:
|
|
33
36
|
from sam_test_infrastructure.artifact_service.service import (
|
|
34
37
|
TestInMemoryArtifactService,
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
Handles ADK Agent and Runner initialization, including tool loading and callback assignment.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
from typing import Dict, List, Optional, Union, Callable, Tuple, Set, Any, TYPE_CHECKING, Type
|
|
6
7
|
import functools
|
|
7
8
|
import inspect
|
|
8
|
-
from solace_ai_connector.common.log import log
|
|
9
9
|
from solace_ai_connector.common.utils import import_module
|
|
10
10
|
from ...common.utils.type_utils import is_subclass_by_name
|
|
11
11
|
|
|
12
|
+
|
|
12
13
|
from .app_llm_agent import AppLlmAgent
|
|
13
14
|
from .tool_wrapper import ADKToolWrapper
|
|
14
15
|
from .embed_resolving_mcp_toolset import EmbedResolvingMCPToolset
|
|
@@ -46,6 +47,7 @@ from ..tools.tool_config_types import (
|
|
|
46
47
|
from ...agent.adk import callbacks as adk_callbacks
|
|
47
48
|
from ...agent.adk.models.lite_llm import LiteLlm
|
|
48
49
|
|
|
50
|
+
log = logging.getLogger(__name__)
|
|
49
51
|
|
|
50
52
|
# Define a clear return type for all tool-loading helpers
|
|
51
53
|
ToolLoadingResult = Tuple[List[Union[BaseTool, Callable]], List[BuiltinTool], List[Callable]]
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
Defines the ADKToolWrapper, a consolidated wrapper for ADK tools.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import asyncio
|
|
6
7
|
import functools
|
|
7
8
|
import inspect
|
|
8
9
|
from typing import Callable, Dict, List, Optional, Literal
|
|
9
10
|
|
|
10
|
-
from solace_ai_connector.common.log import log
|
|
11
|
-
|
|
12
11
|
from ...common.utils.embeds import (
|
|
13
12
|
resolve_embeds_in_string,
|
|
14
13
|
evaluate_embed,
|
|
@@ -17,6 +16,7 @@ from ...common.utils.embeds import (
|
|
|
17
16
|
EMBED_DELIMITER_OPEN,
|
|
18
17
|
)
|
|
19
18
|
|
|
19
|
+
log = logging.getLogger(__name__)
|
|
20
20
|
|
|
21
21
|
class ADKToolWrapper:
|
|
22
22
|
"""
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Contains event handling logic for the A2A_ADK_HostComponent.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import json
|
|
6
7
|
import asyncio
|
|
7
8
|
from typing import TYPE_CHECKING, Dict, Any
|
|
8
9
|
import fnmatch
|
|
9
|
-
from solace_ai_connector.common.log import log
|
|
10
10
|
from solace_ai_connector.common.message import Message as SolaceMessage
|
|
11
11
|
from ...agent.adk.callbacks import _publish_data_part_status_update
|
|
12
12
|
from ...common.data_parts import ToolResultData
|
|
@@ -47,6 +47,7 @@ if TYPE_CHECKING:
|
|
|
47
47
|
from ..sac.component import SamAgentComponent
|
|
48
48
|
from google.adk.agents.run_config import StreamingMode
|
|
49
49
|
|
|
50
|
+
log = logging.getLogger(__name__)
|
|
50
51
|
|
|
51
52
|
def _register_peer_artifacts_in_parent_context(
|
|
52
53
|
parent_task_context: "TaskExecutionContext",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import logging
|
|
1
2
|
import sys
|
|
2
3
|
import os
|
|
3
4
|
|
|
@@ -7,7 +8,6 @@ sys.path.insert(
|
|
|
7
8
|
|
|
8
9
|
from common.utils.asyncio_macos_fix import ensure_asyncio_compatibility
|
|
9
10
|
from .patch_adk import patch_adk
|
|
10
|
-
from solace_ai_connector.common.log import log
|
|
11
11
|
|
|
12
12
|
ensure_asyncio_compatibility()
|
|
13
13
|
patch_adk()
|
|
@@ -29,6 +29,8 @@ from ...agent.utils.artifact_helpers import DEFAULT_SCHEMA_MAX_KEYS
|
|
|
29
29
|
from ...common.utils.pydantic_utils import SamConfigBase
|
|
30
30
|
from ..tools.tool_config_types import AnyToolConfig
|
|
31
31
|
|
|
32
|
+
log = logging.getLogger(__name__)
|
|
33
|
+
|
|
32
34
|
info = {
|
|
33
35
|
"class_name": "SamAgentApp",
|
|
34
36
|
"description": "Custom App class for SAM Agent Host with namespace prefixing and automatic subscription generation.",
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Custom Solace AI Connector Component to Host Google ADK Agents via A2A Protocol.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
from typing import Any, Dict, Optional, Union, Callable, List, Tuple, TYPE_CHECKING
|
|
6
7
|
import asyncio
|
|
7
8
|
import functools
|
|
@@ -15,8 +16,8 @@ import json
|
|
|
15
16
|
from solace_ai_connector.common.message import (
|
|
16
17
|
Message as SolaceMessage,
|
|
17
18
|
)
|
|
18
|
-
from solace_ai_connector.common.log import log
|
|
19
19
|
from solace_ai_connector.common.event import Event, EventType
|
|
20
|
+
|
|
20
21
|
from solace_ai_connector.common.utils import import_module
|
|
21
22
|
import inspect
|
|
22
23
|
from pydantic import BaseModel, ValidationError
|
|
@@ -76,6 +77,8 @@ from ...common.constants import DEFAULT_COMMUNICATION_TIMEOUT
|
|
|
76
77
|
from ...agent.tools.registry import tool_registry
|
|
77
78
|
from ...common.sac.sam_component_base import SamComponentBase
|
|
78
79
|
|
|
80
|
+
log = logging.getLogger(__name__)
|
|
81
|
+
|
|
79
82
|
if TYPE_CHECKING:
|
|
80
83
|
from .app import AgentInitCleanupConfig
|
|
81
84
|
from .task_execution_context import TaskExecutionContext
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Collection of Python tools for audio processing and text-to-speech generation.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import asyncio
|
|
6
7
|
import inspect
|
|
7
8
|
import io
|
|
@@ -20,7 +21,6 @@ from google import genai
|
|
|
20
21
|
from google.genai import types as adk_types
|
|
21
22
|
from google.adk.tools import ToolContext
|
|
22
23
|
from pydub import AudioSegment
|
|
23
|
-
from solace_ai_connector.common.log import log
|
|
24
24
|
|
|
25
25
|
from ...agent.utils.artifact_helpers import (
|
|
26
26
|
load_artifact_content_or_metadata,
|
|
@@ -32,6 +32,7 @@ from ...agent.utils.context_helpers import get_original_session_id
|
|
|
32
32
|
from .tool_definition import BuiltinTool
|
|
33
33
|
from .registry import tool_registry
|
|
34
34
|
|
|
35
|
+
log = logging.getLogger(__name__)
|
|
35
36
|
|
|
36
37
|
VOICE_TONE_MAPPING = {
|
|
37
38
|
"bright": ["Zephyr", "Autonoe"],
|
|
@@ -5,6 +5,7 @@ use state_delta for signaling artifact return requests to the host component.
|
|
|
5
5
|
Metadata handling is integrated via artifact_helpers.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
+
import logging
|
|
8
9
|
import uuid
|
|
9
10
|
import json
|
|
10
11
|
import re
|
|
@@ -16,7 +17,6 @@ from google.adk.tools import ToolContext
|
|
|
16
17
|
if TYPE_CHECKING:
|
|
17
18
|
from google.adk.agents.invocation_context import InvocationContext
|
|
18
19
|
from google.genai import types as adk_types
|
|
19
|
-
from solace_ai_connector.common.log import log
|
|
20
20
|
from .tool_definition import BuiltinTool
|
|
21
21
|
from .registry import tool_registry
|
|
22
22
|
from ...agent.utils.artifact_helpers import (
|
|
@@ -38,6 +38,8 @@ from google.adk.models import LlmRequest
|
|
|
38
38
|
from google.adk.models.registry import LLMRegistry
|
|
39
39
|
from ...common.utils.mime_helpers import is_text_based_file
|
|
40
40
|
|
|
41
|
+
log = logging.getLogger(__name__)
|
|
42
|
+
|
|
41
43
|
CATEGORY_NAME = "Artifact Management"
|
|
42
44
|
CATEGORY_DESCRIPTION = "List, read, create, update, and delete artifacts."
|
|
43
45
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Built-in ADK Tools for Data Analysis (SQL, JQ, Plotly).
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import json
|
|
6
7
|
from typing import Any, Dict, Tuple, Optional, Literal
|
|
7
8
|
from datetime import datetime, timezone
|
|
@@ -31,7 +32,6 @@ except ImportError:
|
|
|
31
32
|
|
|
32
33
|
from google.adk.tools import ToolContext
|
|
33
34
|
from google.genai import types as adk_types
|
|
34
|
-
from solace_ai_connector.common.log import log
|
|
35
35
|
|
|
36
36
|
from ...agent.utils.artifact_helpers import (
|
|
37
37
|
ensure_correct_extension,
|
|
@@ -44,6 +44,8 @@ from ...agent.utils.context_helpers import get_original_session_id
|
|
|
44
44
|
from .tool_definition import BuiltinTool
|
|
45
45
|
from .registry import tool_registry
|
|
46
46
|
|
|
47
|
+
log = logging.getLogger(__name__)
|
|
48
|
+
|
|
47
49
|
CATEGORY_NAME = "Data Analysis"
|
|
48
50
|
CATEGORY_DESCRIPTION = "Create static chart images from data in JSON or YAML format."
|
|
49
51
|
|
|
@@ -4,6 +4,7 @@ Dynamic tools allow for programmatic definition of tool names, descriptions,
|
|
|
4
4
|
and parameter schemas, offering more flexibility than standard Python tools.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
+
import logging
|
|
7
8
|
from abc import ABC, abstractmethod
|
|
8
9
|
from typing import (
|
|
9
10
|
Optional,
|
|
@@ -23,7 +24,6 @@ import inspect
|
|
|
23
24
|
from pydantic import BaseModel
|
|
24
25
|
from google.adk.tools import BaseTool, ToolContext
|
|
25
26
|
from google.genai import types as adk_types
|
|
26
|
-
from solace_ai_connector.common.log import log
|
|
27
27
|
|
|
28
28
|
from solace_agent_mesh.agent.utils.context_helpers import get_original_session_id
|
|
29
29
|
|
|
@@ -35,6 +35,7 @@ from ...common.utils.embeds import (
|
|
|
35
35
|
EMBED_DELIMITER_OPEN,
|
|
36
36
|
)
|
|
37
37
|
|
|
38
|
+
log = logging.getLogger(__name__)
|
|
38
39
|
|
|
39
40
|
if TYPE_CHECKING:
|
|
40
41
|
from ..sac.component import SamAgentComponent
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Collection of Python tools that can be configured for general purpose agents.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import asyncio
|
|
6
7
|
import inspect
|
|
7
8
|
import json
|
|
@@ -13,7 +14,6 @@ from typing import Any, Dict, Optional, Tuple
|
|
|
13
14
|
from playwright.async_api import async_playwright
|
|
14
15
|
|
|
15
16
|
from google.adk.tools import ToolContext
|
|
16
|
-
from solace_ai_connector.common.log import log
|
|
17
17
|
|
|
18
18
|
from markitdown import MarkItDown, UnsupportedFormatException
|
|
19
19
|
from mermaid_cli import render_mermaid
|
|
@@ -30,6 +30,7 @@ from google.genai import types as adk_types
|
|
|
30
30
|
from .tool_definition import BuiltinTool
|
|
31
31
|
from .registry import tool_registry
|
|
32
32
|
|
|
33
|
+
log = logging.getLogger(__name__)
|
|
33
34
|
|
|
34
35
|
def _simple_truncate_text(text: str, max_bytes: int = 2048) -> Tuple[str, bool]:
|
|
35
36
|
"""Truncates text to a maximum number of bytes for preview."""
|
|
@@ -3,6 +3,7 @@ Collection of Python tools for image generation, manipulation, and multimodal co
|
|
|
3
3
|
Includes tools for image description and audio description using vision and audio APIs.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
+
import logging
|
|
6
7
|
import asyncio
|
|
7
8
|
import base64
|
|
8
9
|
import inspect
|
|
@@ -14,7 +15,6 @@ from typing import Any, Dict, Optional
|
|
|
14
15
|
|
|
15
16
|
import httpx
|
|
16
17
|
from google.adk.tools import ToolContext
|
|
17
|
-
from solace_ai_connector.common.log import log
|
|
18
18
|
|
|
19
19
|
from ..utils.artifact_helpers import (
|
|
20
20
|
save_artifact_with_metadata,
|
|
@@ -26,6 +26,7 @@ from google.genai import types as adk_types
|
|
|
26
26
|
from .tool_definition import BuiltinTool
|
|
27
27
|
from .registry import tool_registry
|
|
28
28
|
|
|
29
|
+
log = logging.getLogger(__name__)
|
|
29
30
|
|
|
30
31
|
async def create_image_from_description(
|
|
31
32
|
image_description: str,
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
ADK Tool implementation for delegating tasks to peer A2A agents over Solace.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
from typing import Any, Dict, Optional, List, Union
|
|
6
7
|
import uuid
|
|
7
8
|
|
|
8
9
|
from google.adk.tools import BaseTool, ToolContext
|
|
9
10
|
from google.genai import types as adk_types
|
|
10
11
|
from pydantic import BaseModel, Field
|
|
11
|
-
from solace_ai_connector.common.log import log
|
|
12
12
|
|
|
13
13
|
from ...common.a2a.types import ContentPart
|
|
14
14
|
from a2a.types import (
|
|
@@ -18,6 +18,7 @@ from ...common import a2a
|
|
|
18
18
|
from ...common.constants import DEFAULT_COMMUNICATION_TIMEOUT
|
|
19
19
|
from ...common.exceptions import MessageSizeExceededError
|
|
20
20
|
|
|
21
|
+
log = logging.getLogger(__name__)
|
|
21
22
|
|
|
22
23
|
class ArtifactIdentifier(BaseModel):
|
|
23
24
|
"""Identifies a specific version of an artifact."""
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
A singleton registry for discovering and holding all BuiltinTool definitions.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
from typing import Dict, List, Optional
|
|
6
7
|
from .tool_definition import BuiltinTool
|
|
7
|
-
|
|
8
|
+
|
|
9
|
+
log = logging.getLogger(__name__)
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
class _ToolRegistry:
|
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
Test-specific ADK Tools.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import asyncio
|
|
6
7
|
from typing import Dict, Optional, Any
|
|
7
8
|
|
|
8
9
|
from google.adk.tools import ToolContext
|
|
9
|
-
from solace_ai_connector.common.log import log
|
|
10
10
|
|
|
11
11
|
from google.genai import types as adk_types
|
|
12
12
|
from .tool_definition import BuiltinTool
|
|
13
13
|
from .registry import tool_registry
|
|
14
14
|
|
|
15
|
+
log = logging.getLogger(__name__)
|
|
15
16
|
|
|
16
17
|
async def time_delay(
|
|
17
18
|
seconds: float,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Collection of Python tools for web-related tasks, such as making HTTP requests.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import json
|
|
6
7
|
import uuid
|
|
7
8
|
from datetime import datetime, timezone
|
|
@@ -15,7 +16,6 @@ from markdownify import markdownify as md
|
|
|
15
16
|
from bs4 import BeautifulSoup
|
|
16
17
|
|
|
17
18
|
from google.adk.tools import ToolContext
|
|
18
|
-
from solace_ai_connector.common.log import log
|
|
19
19
|
|
|
20
20
|
from ...agent.utils.artifact_helpers import (
|
|
21
21
|
save_artifact_with_metadata,
|
|
@@ -27,6 +27,7 @@ from google.genai import types as adk_types
|
|
|
27
27
|
from .tool_definition import BuiltinTool
|
|
28
28
|
from .registry import tool_registry
|
|
29
29
|
|
|
30
|
+
log = logging.getLogger(__name__)
|
|
30
31
|
|
|
31
32
|
CATEGORY_NAME = "Web Access"
|
|
32
33
|
CATEGORY_DESCRIPTION = "Access the web to find information to complete user requests."
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Helper functions for artifact management, including metadata handling and schema inference.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
import base64
|
|
6
7
|
import binascii
|
|
7
8
|
import json
|
|
@@ -16,7 +17,6 @@ from typing import Any, Dict, Optional, Tuple, List, Union, TYPE_CHECKING
|
|
|
16
17
|
from urllib.parse import urlparse, parse_qs, urlunparse, urlencode
|
|
17
18
|
from google.adk.artifacts import BaseArtifactService
|
|
18
19
|
from google.genai import types as adk_types
|
|
19
|
-
from solace_ai_connector.common.log import log
|
|
20
20
|
from ...common.a2a.types import ArtifactInfo
|
|
21
21
|
from ...common.utils.mime_helpers import is_text_based_mime_type, is_text_based_file
|
|
22
22
|
from ...common.constants import TEXT_ARTIFACT_CONTEXT_MAX_LENGTH_CAPACITY, TEXT_ARTIFACT_CONTEXT_DEFAULT_LENGTH
|
|
@@ -26,6 +26,8 @@ if TYPE_CHECKING:
|
|
|
26
26
|
from google.adk.tools import ToolContext
|
|
27
27
|
from ...agent.sac.component import SamAgentComponent
|
|
28
28
|
|
|
29
|
+
log = logging.getLogger(__name__)
|
|
30
|
+
|
|
29
31
|
METADATA_SUFFIX = ".metadata.json"
|
|
30
32
|
DEFAULT_SCHEMA_MAX_KEYS = 20
|
|
31
33
|
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
Parses and validates configuration for the SamAgentComponent and its App.
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
from typing import Any, Union, Callable
|
|
6
|
-
from solace_ai_connector.common.log import log
|
|
7
7
|
from google.adk.agents.readonly_context import ReadonlyContext
|
|
8
8
|
|
|
9
|
+
log = logging.getLogger(__name__)
|
|
10
|
+
|
|
9
11
|
InstructionProvider = Callable[[ReadonlyContext], str]
|
|
10
12
|
|
|
11
13
|
|