google-adk 0.0.2__tar.gz → 0.0.3__tar.gz

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.
Files changed (344) hide show
  1. google_adk-0.0.3/LICENSE +1 -0
  2. {google_adk-0.0.2 → google_adk-0.0.3}/PKG-INFO +1 -1
  3. {google_adk-0.0.2 → google_adk-0.0.3}/pyproject.toml +1 -1
  4. google_adk-0.0.3/src/google/adk/._version.py +0 -0
  5. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/agent_graph.py +31 -5
  6. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/browser/index.html +1 -1
  7. google_adk-0.0.2/src/google/adk/cli/browser/main-XUU6OGCC.js → google_adk-0.0.3/src/google/adk/cli/browser/main-SY2WYYGV.js +1 -1
  8. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/cli_tools_click.py +51 -6
  9. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/fast_api.py +19 -9
  10. google_adk-0.0.3/src/google/adk/docs/Makefile +20 -0
  11. google_adk-0.0.3/src/google/adk/docs/build/doctrees/google-adk.doctree +0 -0
  12. google_adk-0.0.3/src/google/adk/docs/build/html/_sources/google-adk.rst.txt +98 -0
  13. google_adk-0.0.3/src/google/adk/docs/build/html/_sources/index.rst.txt +7 -0
  14. google_adk-0.0.3/src/google/adk/docs/build/html/_static/autodoc_pydantic.css +27 -0
  15. google_adk-0.0.3/src/google/adk/docs/build/html/_static/basic.css +925 -0
  16. google_adk-0.0.3/src/google/adk/docs/build/html/_static/debug.css +85 -0
  17. google_adk-0.0.3/src/google/adk/docs/build/html/_static/doctools.js +156 -0
  18. google_adk-0.0.3/src/google/adk/docs/build/html/_static/documentation_options.js +29 -0
  19. google_adk-0.0.3/src/google/adk/docs/build/html/_static/file.png +0 -0
  20. google_adk-0.0.3/src/google/adk/docs/build/html/_static/language_data.js +199 -0
  21. google_adk-0.0.3/src/google/adk/docs/build/html/_static/minus.png +0 -0
  22. google_adk-0.0.3/src/google/adk/docs/build/html/_static/plus.png +0 -0
  23. google_adk-0.0.3/src/google/adk/docs/build/html/_static/pygments.css +274 -0
  24. google_adk-0.0.3/src/google/adk/docs/build/html/_static/scripts/furo-extensions.js +16 -0
  25. google_adk-0.0.3/src/google/adk/docs/build/html/_static/scripts/furo.js +19 -0
  26. google_adk-0.0.3/src/google/adk/docs/build/html/_static/scripts/furo.js.LICENSE.txt +7 -0
  27. google_adk-0.0.3/src/google/adk/docs/build/html/_static/scripts/furo.js.map +1 -0
  28. google_adk-0.0.3/src/google/adk/docs/build/html/_static/searchtools.js +620 -0
  29. google_adk-0.0.3/src/google/adk/docs/build/html/_static/skeleton.css +312 -0
  30. google_adk-0.0.3/src/google/adk/docs/build/html/_static/sphinx_highlight.js +170 -0
  31. google_adk-0.0.3/src/google/adk/docs/build/html/_static/styles/furo-extensions.css +18 -0
  32. google_adk-0.0.3/src/google/adk/docs/build/html/_static/styles/furo-extensions.css.map +1 -0
  33. google_adk-0.0.3/src/google/adk/docs/build/html/_static/styles/furo.css +18 -0
  34. google_adk-0.0.3/src/google/adk/docs/build/html/_static/styles/furo.css.map +1 -0
  35. google_adk-0.0.3/src/google/adk/docs/build/html/genindex.html +861 -0
  36. google_adk-0.0.3/src/google/adk/docs/build/html/google-adk.html +5461 -0
  37. google_adk-0.0.3/src/google/adk/docs/build/html/index.html +567 -0
  38. google_adk-0.0.3/src/google/adk/docs/build/html/objects.inv +0 -0
  39. google_adk-0.0.3/src/google/adk/docs/build/html/py-modindex.html +373 -0
  40. google_adk-0.0.3/src/google/adk/docs/build/html/search.html +333 -0
  41. google_adk-0.0.3/src/google/adk/docs/build/html/searchindex.js +17 -0
  42. google_adk-0.0.3/src/google/adk/docs/source/conf.py +133 -0
  43. google_adk-0.0.3/src/google/adk/docs/source/google-adk.rst +98 -0
  44. google_adk-0.0.3/src/google/adk/docs/source/index.rst +7 -0
  45. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/version.py +1 -1
  46. google_adk-0.0.2/LICENSE +0 -202
  47. google_adk-0.0.2/src/google/adk/cli/media_streamer/__init__.py +0 -19
  48. google_adk-0.0.2/src/google/adk/cli/media_streamer/index.html +0 -228
  49. google_adk-0.0.2/src/google/adk/tests/integration/fixture/flow_complex_spark/sample.debug.log +0 -243
  50. {google_adk-0.0.2 → google_adk-0.0.3}/README.md +0 -0
  51. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/__init__.py +0 -0
  52. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/__init__.py +0 -0
  53. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/active_streaming_tool.py +0 -0
  54. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/base_agent.py +0 -0
  55. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/callback_context.py +0 -0
  56. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/invocation_context.py +0 -0
  57. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/langgraph_agent.py +0 -0
  58. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/live_request_queue.py +0 -0
  59. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/llm_agent.py +0 -0
  60. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/loop_agent.py +0 -0
  61. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/parallel_agent.py +0 -0
  62. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/readonly_context.py +0 -0
  63. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/remote_agent.py +0 -0
  64. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/run_config.py +0 -0
  65. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/sequential_agent.py +0 -0
  66. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/agents/transcription_entry.py +0 -0
  67. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/artifacts/__init__.py +0 -0
  68. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/artifacts/base_artifact_service.py +0 -0
  69. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/artifacts/gcs_artifact_service.py +0 -0
  70. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/artifacts/in_memory_artifact_service.py +0 -0
  71. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/auth/__init__.py +0 -0
  72. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/auth/auth_credential.py +0 -0
  73. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/auth/auth_handler.py +0 -0
  74. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/auth/auth_preprocessor.py +0 -0
  75. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/auth/auth_schemes.py +0 -0
  76. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/auth/auth_tool.py +0 -0
  77. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/__init__.py +0 -0
  78. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/__main__.py +0 -0
  79. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/browser/adk_favicon.svg +0 -0
  80. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/browser/assets/audio-processor.js +0 -0
  81. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/browser/assets/config/runtime-config.json +0 -0
  82. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/browser/polyfills-FFHMD2TL.js +0 -0
  83. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/browser/styles-4VDSPQ37.css +0 -0
  84. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/cli.py +0 -0
  85. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/cli_deploy.py +0 -0
  86. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/cli_eval.py +0 -0
  87. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/utils/__init__.py +0 -0
  88. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/utils/envs.py +0 -0
  89. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/utils/evals.py +0 -0
  90. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/cli/utils/logs.py +0 -0
  91. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/code_executors/__init__.py +0 -0
  92. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/code_executors/base_code_executor.py +0 -0
  93. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/code_executors/code_execution_utils.py +0 -0
  94. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/code_executors/code_executor_context.py +0 -0
  95. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/code_executors/container_code_executor.py +0 -0
  96. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/code_executors/unsafe_local_code_executor.py +0 -0
  97. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/code_executors/vertex_ai_code_executor.py +0 -0
  98. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/evaluation/__init__.py +0 -0
  99. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/evaluation/agent_evaluator.py +0 -0
  100. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/evaluation/evaluation_constants.py +0 -0
  101. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/evaluation/evaluation_generator.py +0 -0
  102. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/evaluation/response_evaluator.py +0 -0
  103. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/evaluation/trajectory_evaluator.py +0 -0
  104. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/events/__init__.py +0 -0
  105. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/events/event.py +0 -0
  106. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/events/event_actions.py +0 -0
  107. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/examples/__init__.py +0 -0
  108. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/examples/base_example_provider.py +0 -0
  109. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/examples/example.py +0 -0
  110. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/examples/example_util.py +0 -0
  111. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/examples/vertex_ai_example_store.py +0 -0
  112. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/__init__.py +0 -0
  113. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/__init__.py +0 -0
  114. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/_base_llm_processor.py +0 -0
  115. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/_code_execution.py +0 -0
  116. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/_nl_planning.py +0 -0
  117. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/agent_transfer.py +0 -0
  118. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/audio_transcriber.py +0 -0
  119. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/auto_flow.py +0 -0
  120. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/base_llm_flow.py +0 -0
  121. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/basic.py +0 -0
  122. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/contents.py +0 -0
  123. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/functions.py +0 -0
  124. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/identity.py +0 -0
  125. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/instructions.py +0 -0
  126. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/flows/llm_flows/single_flow.py +0 -0
  127. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/memory/__init__.py +0 -0
  128. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/memory/base_memory_service.py +0 -0
  129. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/memory/in_memory_memory_service.py +0 -0
  130. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/memory/vertex_ai_rag_memory_service.py +0 -0
  131. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/models/__init__.py +0 -0
  132. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/models/anthropic_llm.py +0 -0
  133. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/models/base_llm.py +0 -0
  134. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/models/base_llm_connection.py +0 -0
  135. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/models/gemini_llm_connection.py +0 -0
  136. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/models/google_llm.py +0 -0
  137. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/models/lite_llm.py +0 -0
  138. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/models/llm_request.py +0 -0
  139. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/models/llm_response.py +0 -0
  140. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/models/registry.py +0 -0
  141. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/planners/__init__.py +0 -0
  142. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/planners/base_planner.py +0 -0
  143. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/planners/built_in_planner.py +0 -0
  144. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/planners/plan_re_act_planner.py +0 -0
  145. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/runners.py +0 -0
  146. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/sessions/__init__.py +0 -0
  147. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/sessions/base_session_service.py +0 -0
  148. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/sessions/database_session_service.py +0 -0
  149. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/sessions/in_memory_session_service.py +0 -0
  150. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/sessions/session.py +0 -0
  151. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/sessions/state.py +0 -0
  152. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/sessions/vertex_ai_session_service.py +0 -0
  153. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/telemetry.py +0 -0
  154. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/__init__.py +0 -0
  155. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/.env.example +0 -0
  156. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/__init__.py +0 -0
  157. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/conftest.py +0 -0
  158. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/__init__.py +0 -0
  159. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/agent_with_config/__init__.py +0 -0
  160. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/agent_with_config/agent.py +0 -0
  161. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/callback_agent/__init__.py +0 -0
  162. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/callback_agent/agent.py +0 -0
  163. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/context_update_test/OWNERS +0 -0
  164. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/context_update_test/__init__.py +0 -0
  165. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/context_update_test/agent.py +0 -0
  166. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/context_update_test/successful_test.session.json +0 -0
  167. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/context_variable_agent/__init__.py +0 -0
  168. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/context_variable_agent/agent.py +0 -0
  169. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/customer_support_ma/__init__.py +0 -0
  170. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/customer_support_ma/agent.py +0 -0
  171. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/ecommerce_customer_service_agent/__init__.py +0 -0
  172. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/ecommerce_customer_service_agent/agent.py +0 -0
  173. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/ecommerce_customer_service_agent/order_query.test.json +0 -0
  174. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/ecommerce_customer_service_agent/test_config.json +0 -0
  175. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/flow_complex_spark/__init__.py +0 -0
  176. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/flow_complex_spark/agent.py +0 -0
  177. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/flow_complex_spark/sample.session.json +0 -0
  178. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/hello_world_agent/__init__.py +0 -0
  179. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/hello_world_agent/agent.py +0 -0
  180. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/hello_world_agent/roll_die.test.json +0 -0
  181. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/hello_world_agent/test_config.json +0 -0
  182. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/__init__.py +0 -0
  183. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/agent.py +0 -0
  184. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/simple_test.test.json +0 -0
  185. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/simple_test2.test.json +0 -0
  186. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/test_config.json +0 -0
  187. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/test_files/dependent_tool_calls.test.json +0 -0
  188. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/test_files/memorizing_past_events/eval_data.test.json +0 -0
  189. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/test_files/memorizing_past_events/test_config.json +0 -0
  190. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/test_files/simple_multi_turn_conversation.test.json +0 -0
  191. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/test_files/simple_test.test.json +0 -0
  192. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/test_files/simple_test2.test.json +0 -0
  193. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/home_automation_agent/test_files/test_config.json +0 -0
  194. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/tool_agent/__init__.py +0 -0
  195. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/tool_agent/agent.py +0 -0
  196. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/tool_agent/files/Agent_test_plan.pdf +0 -0
  197. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/trip_planner_agent/__init__.py +0 -0
  198. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/trip_planner_agent/agent.py +0 -0
  199. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/trip_planner_agent/initial.session.json +0 -0
  200. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/trip_planner_agent/test_config.json +0 -0
  201. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/trip_planner_agent/test_files/initial.session.json +0 -0
  202. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/trip_planner_agent/test_files/test_config.json +0 -0
  203. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/trip_planner_agent/test_files/trip_inquiry_sub_agent.test.json +0 -0
  204. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/fixture/trip_planner_agent/trip_inquiry.test.json +0 -0
  205. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/models/__init__.py +0 -0
  206. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/models/test_google_llm.py +0 -0
  207. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/test_callback.py +0 -0
  208. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/test_context_variable.py +0 -0
  209. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/test_evalute_agent_in_fixture.py +0 -0
  210. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/test_multi_agent.py +0 -0
  211. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/test_multi_turn.py +0 -0
  212. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/test_single_agent.py +0 -0
  213. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/test_sub_agent.py +0 -0
  214. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/test_system_instruction.py +0 -0
  215. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/test_tools.py +0 -0
  216. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/test_with_test_file.py +0 -0
  217. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/tools/__init__.py +0 -0
  218. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/utils/__init__.py +0 -0
  219. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/utils/asserts.py +0 -0
  220. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/integration/utils/test_runner.py +0 -0
  221. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/__init__.py +0 -0
  222. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/agents/__init__.py +0 -0
  223. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/agents/test_base_agent.py +0 -0
  224. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/agents/test_langgraph_agent.py +0 -0
  225. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/agents/test_llm_agent_callbacks.py +0 -0
  226. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/agents/test_llm_agent_fields.py +0 -0
  227. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/agents/test_loop_agent.py +0 -0
  228. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/agents/test_parallel_agent.py +0 -0
  229. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/agents/test_sequential_agent.py +0 -0
  230. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/artifacts/__init__.py +0 -0
  231. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/artifacts/test_artifact_service.py +0 -0
  232. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/auth/test_auth_handler.py +0 -0
  233. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/conftest.py +0 -0
  234. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/fast_api/__init__.py +0 -0
  235. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/fast_api/test_fast_api.py +0 -0
  236. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/__init__.py +0 -0
  237. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/__init__.py +0 -0
  238. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/_test_examples.py +0 -0
  239. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/test_agent_transfer.py +0 -0
  240. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/test_functions_long_running.py +0 -0
  241. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/test_functions_request_euc.py +0 -0
  242. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/test_functions_sequential.py +0 -0
  243. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/test_functions_simple.py +0 -0
  244. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/test_identity.py +0 -0
  245. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/test_instructions.py +0 -0
  246. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/test_model_callbacks.py +0 -0
  247. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/test_other_configs.py +0 -0
  248. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/flows/llm_flows/test_tool_callbacks.py +0 -0
  249. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/models/__init__.py +0 -0
  250. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/models/test_google_llm.py +0 -0
  251. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/models/test_litellm.py +0 -0
  252. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/models/test_models.py +0 -0
  253. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/sessions/__init__.py +0 -0
  254. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/sessions/test_session_service.py +0 -0
  255. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/sessions/test_vertex_ai_session_service.py +0 -0
  256. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/streaming/__init__.py +0 -0
  257. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/streaming/test_streaming.py +0 -0
  258. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/__init__.py +0 -0
  259. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/apihub_tool/clients/test_apihub_client.py +0 -0
  260. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/apihub_tool/test_apihub_toolset.py +0 -0
  261. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/application_integration_tool/clients/test_connections_client.py +0 -0
  262. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/application_integration_tool/clients/test_integration_client.py +0 -0
  263. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/application_integration_tool/test_application_integration_toolset.py +0 -0
  264. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/google_api_tool/__init__.py +0 -0
  265. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py +0 -0
  266. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/auth/credential_exchangers/test_auto_auth_credential_exchanger.py +0 -0
  267. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/auth/credential_exchangers/test_base_auth_credential_exchanger.py +0 -0
  268. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/auth/credential_exchangers/test_oauth2_exchanger.py +0 -0
  269. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/auth/credential_exchangers/test_service_account_exchanger.py +0 -0
  270. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/auth/test_auth_helper.py +0 -0
  271. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/common/test_common.py +0 -0
  272. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/openapi_spec_parser/test.yaml +0 -0
  273. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/openapi_spec_parser/test_openapi_spec_parser.py +0 -0
  274. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/openapi_spec_parser/test_openapi_toolset.py +0 -0
  275. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/openapi_spec_parser/test_operation_parser.py +0 -0
  276. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/openapi_spec_parser/test_rest_api_tool.py +0 -0
  277. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/openapi_tool/openapi_spec_parser/test_tool_auth_handler.py +0 -0
  278. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/retrieval/__init__.py +0 -0
  279. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/retrieval/test_vertex_ai_rag_retrieval.py +0 -0
  280. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/test_agent_tool.py +0 -0
  281. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/test_base_tool.py +0 -0
  282. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/tools/test_build_function_declaration.py +0 -0
  283. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tests/unittests/utils.py +0 -0
  284. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/__init__.py +0 -0
  285. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/_automatic_function_calling_util.py +0 -0
  286. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/agent_tool.py +0 -0
  287. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/apihub_tool/__init__.py +0 -0
  288. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/apihub_tool/apihub_toolset.py +0 -0
  289. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/apihub_tool/clients/__init__.py +0 -0
  290. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/apihub_tool/clients/apihub_client.py +0 -0
  291. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/apihub_tool/clients/secret_client.py +0 -0
  292. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/application_integration_tool/__init__.py +0 -0
  293. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/application_integration_tool/application_integration_toolset.py +0 -0
  294. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/application_integration_tool/clients/connections_client.py +0 -0
  295. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/application_integration_tool/clients/integration_client.py +0 -0
  296. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/base_tool.py +0 -0
  297. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/built_in_code_execution_tool.py +0 -0
  298. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/crewai_tool.py +0 -0
  299. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/example_tool.py +0 -0
  300. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/exit_loop_tool.py +0 -0
  301. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/function_parameter_parse_util.py +0 -0
  302. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/function_tool.py +0 -0
  303. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/get_user_choice_tool.py +0 -0
  304. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/google_api_tool/__init__.py +0 -0
  305. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/google_api_tool/google_api_tool.py +0 -0
  306. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/google_api_tool/google_api_tool_set.py +0 -0
  307. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/google_api_tool/google_api_tool_sets.py +0 -0
  308. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/google_api_tool/googleapi_to_openapi_converter.py +0 -0
  309. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/google_search_tool.py +0 -0
  310. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/langchain_tool.py +0 -0
  311. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/load_artifacts_tool.py +0 -0
  312. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/load_memory_tool.py +0 -0
  313. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/load_web_page.py +0 -0
  314. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/long_running_tool.py +0 -0
  315. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/mcp_tool/__init__.py +0 -0
  316. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/mcp_tool/conversion_utils.py +0 -0
  317. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/mcp_tool/mcp_tool.py +0 -0
  318. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/mcp_tool/mcp_toolset.py +0 -0
  319. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/__init__.py +0 -0
  320. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/auth/__init__.py +0 -0
  321. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/auth/auth_helpers.py +0 -0
  322. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/auth/credential_exchangers/__init__.py +0 -0
  323. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/auth/credential_exchangers/auto_auth_credential_exchanger.py +0 -0
  324. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/auth/credential_exchangers/base_credential_exchanger.py +0 -0
  325. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/auth/credential_exchangers/oauth2_exchanger.py +0 -0
  326. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/auth/credential_exchangers/service_account_exchanger.py +0 -0
  327. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/common/__init__.py +0 -0
  328. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/common/common.py +0 -0
  329. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/openapi_spec_parser/__init__.py +0 -0
  330. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/openapi_spec_parser/openapi_spec_parser.py +0 -0
  331. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/openapi_spec_parser/openapi_toolset.py +0 -0
  332. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/openapi_spec_parser/operation_parser.py +0 -0
  333. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/openapi_spec_parser/rest_api_tool.py +0 -0
  334. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/openapi_tool/openapi_spec_parser/tool_auth_handler.py +0 -0
  335. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/preload_memory_tool.py +0 -0
  336. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/retrieval/__init__.py +0 -0
  337. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/retrieval/base_retrieval_tool.py +0 -0
  338. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/retrieval/files_retrieval.py +0 -0
  339. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/retrieval/llama_index_retrieval.py +0 -0
  340. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/retrieval/vertex_ai_rag_retrieval.py +0 -0
  341. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/tool_context.py +0 -0
  342. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/toolbox_tool.py +0 -0
  343. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/transfer_to_agent_tool.py +0 -0
  344. {google_adk-0.0.2 → google_adk-0.0.3}/src/google/adk/tools/vertex_ai_search_tool.py +0 -0
@@ -0,0 +1 @@
1
+ ../LICENSE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: google-adk
3
- Version: 0.0.2
3
+ Version: 0.0.3
4
4
  Summary:
5
5
  Author-email: Google LLC <googleapis-packages@google.com>
6
6
  Requires-Python: >=3.9
@@ -5,7 +5,7 @@
5
5
  name = "google-adk"
6
6
  description = ""
7
7
  license = { file = "LICENSE" }
8
- version = "0.0.2"
8
+ version = "0.0.3"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
11
11
  authors = [{ name = "Google LLC", email = "googleapis-packages@google.com" }]
@@ -12,6 +12,9 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+ from __future__ import annotations
16
+
17
+ import logging
15
18
  from typing import Union
16
19
 
17
20
  import graphviz
@@ -21,7 +24,15 @@ from ..agents.llm_agent import LlmAgent
21
24
  from ..tools.agent_tool import AgentTool
22
25
  from ..tools.base_tool import BaseTool
23
26
  from ..tools.function_tool import FunctionTool
24
- from ..tools.retrieval.base_retrieval_tool import BaseRetrievalTool
27
+
28
+ logger = logging.getLogger(__name__)
29
+
30
+ try:
31
+ from ..tools.retrieval.base_retrieval_tool import BaseRetrievalTool
32
+ except ModuleNotFoundError:
33
+ retrieval_tool_module_loaded = False
34
+ else:
35
+ retrieval_tool_module_loaded = True
25
36
 
26
37
 
27
38
  def build_graph(graph, agent: BaseAgent, highlight_pairs):
@@ -38,9 +49,12 @@ def build_graph(graph, agent: BaseAgent, highlight_pairs):
38
49
  raise ValueError(f'Unsupported tool type: {tool_or_agent}')
39
50
 
40
51
  def get_node_caption(tool_or_agent: Union[BaseAgent, BaseTool]):
52
+
41
53
  if isinstance(tool_or_agent, BaseAgent):
42
54
  return '🤖 ' + tool_or_agent.name
43
- elif isinstance(tool_or_agent, BaseRetrievalTool):
55
+ elif retrieval_tool_module_loaded and isinstance(
56
+ tool_or_agent, BaseRetrievalTool
57
+ ):
44
58
  return '🔎 ' + tool_or_agent.name
45
59
  elif isinstance(tool_or_agent, FunctionTool):
46
60
  return '🔧 ' + tool_or_agent.name
@@ -49,19 +63,31 @@ def build_graph(graph, agent: BaseAgent, highlight_pairs):
49
63
  elif isinstance(tool_or_agent, BaseTool):
50
64
  return '🔧 ' + tool_or_agent.name
51
65
  else:
52
- raise ValueError(f'Unsupported tool type: {type(tool)}')
66
+ logger.warning(
67
+ 'Unsupported tool, type: %s, obj: %s',
68
+ type(tool_or_agent),
69
+ tool_or_agent,
70
+ )
71
+ return f'❓ Unsupported tool type: {type(tool_or_agent)}'
53
72
 
54
73
  def get_node_shape(tool_or_agent: Union[BaseAgent, BaseTool]):
55
74
  if isinstance(tool_or_agent, BaseAgent):
56
75
  return 'ellipse'
57
- elif isinstance(tool_or_agent, BaseRetrievalTool):
76
+ elif retrieval_tool_module_loaded and isinstance(
77
+ tool_or_agent, BaseRetrievalTool
78
+ ):
58
79
  return 'cylinder'
59
80
  elif isinstance(tool_or_agent, FunctionTool):
60
81
  return 'box'
61
82
  elif isinstance(tool_or_agent, BaseTool):
62
83
  return 'box'
63
84
  else:
64
- raise ValueError(f'Unsupported tool type: {type(tool_or_agent)}')
85
+ logger.warning(
86
+ 'Unsupported tool, type: %s, obj: %s',
87
+ type(tool_or_agent),
88
+ tool_or_agent,
89
+ )
90
+ return 'cylinder'
65
91
 
66
92
  def draw_node(tool_or_agent: Union[BaseAgent, BaseTool]):
67
93
  name = get_node_name(tool_or_agent)
@@ -29,5 +29,5 @@
29
29
  <style>html{color-scheme:dark}html{--mat-sys-background:light-dark(#fcf9f8, #131314);--mat-sys-error:light-dark(#ba1a1a, #ffb4ab);--mat-sys-error-container:light-dark(#ffdad6, #93000a);--mat-sys-inverse-on-surface:light-dark(#f3f0f0, #313030);--mat-sys-inverse-primary:light-dark(#c1c7cd, #595f65);--mat-sys-inverse-surface:light-dark(#313030, #e5e2e2);--mat-sys-on-background:light-dark(#1c1b1c, #e5e2e2);--mat-sys-on-error:light-dark(#ffffff, #690005);--mat-sys-on-error-container:light-dark(#410002, #ffdad6);--mat-sys-on-primary:light-dark(#ffffff, #2b3136);--mat-sys-on-primary-container:light-dark(#161c21, #dde3e9);--mat-sys-on-primary-fixed:light-dark(#161c21, #161c21);--mat-sys-on-primary-fixed-variant:light-dark(#41474d, #41474d);--mat-sys-on-secondary:light-dark(#ffffff, #003061);--mat-sys-on-secondary-container:light-dark(#001b3c, #d5e3ff);--mat-sys-on-secondary-fixed:light-dark(#001b3c, #001b3c);--mat-sys-on-secondary-fixed-variant:light-dark(#0f4784, #0f4784);--mat-sys-on-surface:light-dark(#1c1b1c, #e5e2e2);--mat-sys-on-surface-variant:light-dark(#44474a, #e1e2e6);--mat-sys-on-tertiary:light-dark(#ffffff, #2b3136);--mat-sys-on-tertiary-container:light-dark(#161c21, #dde3e9);--mat-sys-on-tertiary-fixed:light-dark(#161c21, #161c21);--mat-sys-on-tertiary-fixed-variant:light-dark(#41474d, #41474d);--mat-sys-outline:light-dark(#74777b, #8e9194);--mat-sys-outline-variant:light-dark(#c4c7ca, #44474a);--mat-sys-primary:light-dark(#595f65, #c1c7cd);--mat-sys-primary-container:light-dark(#dde3e9, #41474d);--mat-sys-primary-fixed:light-dark(#dde3e9, #dde3e9);--mat-sys-primary-fixed-dim:light-dark(#c1c7cd, #c1c7cd);--mat-sys-scrim:light-dark(#000000, #000000);--mat-sys-secondary:light-dark(#305f9d, #a7c8ff);--mat-sys-secondary-container:light-dark(#d5e3ff, #0f4784);--mat-sys-secondary-fixed:light-dark(#d5e3ff, #d5e3ff);--mat-sys-secondary-fixed-dim:light-dark(#a7c8ff, #a7c8ff);--mat-sys-shadow:light-dark(#000000, #000000);--mat-sys-surface:light-dark(#fcf9f8, #131314);--mat-sys-surface-bright:light-dark(#fcf9f8, #393939);--mat-sys-surface-container:light-dark(#f0eded, #201f20);--mat-sys-surface-container-high:light-dark(#eae7e7, #2a2a2a);--mat-sys-surface-container-highest:light-dark(#e5e2e2, #393939);--mat-sys-surface-container-low:light-dark(#f6f3f3, #1c1b1c);--mat-sys-surface-container-lowest:light-dark(#ffffff, #0e0e0e);--mat-sys-surface-dim:light-dark(#dcd9d9, #131314);--mat-sys-surface-tint:light-dark(#595f65, #c1c7cd);--mat-sys-surface-variant:light-dark(#e1e2e6, #44474a);--mat-sys-tertiary:light-dark(#595f65, #c1c7cd);--mat-sys-tertiary-container:light-dark(#dde3e9, #41474d);--mat-sys-tertiary-fixed:light-dark(#dde3e9, #dde3e9);--mat-sys-tertiary-fixed-dim:light-dark(#c1c7cd, #c1c7cd);--mat-sys-neutral-variant20:#2d3134;--mat-sys-neutral10:#1c1b1c}html{--mat-sys-level0:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level1:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level2:0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level3:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12)}html{--mat-sys-level4:0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12)}html{--mat-sys-level5:0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12)}html{--mat-sys-corner-extra-large:28px;--mat-sys-corner-extra-large-top:28px 28px 0 0;--mat-sys-corner-extra-small:4px;--mat-sys-corner-extra-small-top:4px 4px 0 0;--mat-sys-corner-full:9999px;--mat-sys-corner-large:16px;--mat-sys-corner-large-end:0 16px 16px 0;--mat-sys-corner-large-start:16px 0 0 16px;--mat-sys-corner-large-top:16px 16px 0 0;--mat-sys-corner-medium:12px;--mat-sys-corner-none:0;--mat-sys-corner-small:8px}html{--mat-sys-dragged-state-layer-opacity:.16;--mat-sys-focus-state-layer-opacity:.12;--mat-sys-hover-state-layer-opacity:.08;--mat-sys-pressed-state-layer-opacity:.12}html{font-family:Google Sans,Helvetica Neue,sans-serif!important}body{height:100vh;margin:0}:root{--mat-sys-primary:black;--mdc-checkbox-selected-icon-color:white;--mat-sys-background:#131314;--mat-tab-header-active-label-text-color:#8AB4F8;--mat-tab-header-active-hover-label-text-color:#8AB4F8;--mat-tab-header-active-focus-label-text-color:#8AB4F8;--mat-tab-header-label-text-weight:500;--mdc-text-button-label-text-color:#89b4f8}:root{--mdc-dialog-container-color:#2b2b2f}:root{--mdc-dialog-subhead-color:white}:root{--mdc-circular-progress-active-indicator-color:#a8c7fa}:root{--mdc-circular-progress-size:80}</style><link rel="stylesheet" href="styles-4VDSPQ37.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-4VDSPQ37.css"></noscript></head>
30
30
  <body>
31
31
  <app-root></app-root>
32
- <script src="polyfills-FFHMD2TL.js" type="module"></script><script src="main-XUU6OGCC.js" type="module"></script></body>
32
+ <script src="polyfills-FFHMD2TL.js" type="module"></script><script src="main-SY2WYYGV.js" type="module"></script></body>
33
33
  </html>