veadk-python 0.2.24__tar.gz → 0.2.25__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 (239) hide show
  1. {veadk_python-0.2.24/veadk_python.egg-info → veadk_python-0.2.25}/PKG-INFO +1 -1
  2. {veadk_python-0.2.24 → veadk_python-0.2.25}/pyproject.toml +1 -1
  3. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/config.py +12 -6
  4. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/knowledgebase/backends/vikingdb_knowledge_backend.py +4 -0
  5. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/long_term_memory_backends/vikingdb_memory_backend.py +2 -1
  6. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/runner.py +12 -8
  7. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/utils/misc.py +4 -5
  8. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/version.py +1 -1
  9. {veadk_python-0.2.24 → veadk_python-0.2.25/veadk_python.egg-info}/PKG-INFO +1 -1
  10. {veadk_python-0.2.24 → veadk_python-0.2.25}/LICENSE +0 -0
  11. {veadk_python-0.2.24 → veadk_python-0.2.25}/README.md +0 -0
  12. {veadk_python-0.2.24 → veadk_python-0.2.25}/setup.cfg +0 -0
  13. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_agent.py +0 -0
  14. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_cloud.py +0 -0
  15. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_evaluator.py +0 -0
  16. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_knowledgebase.py +0 -0
  17. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_long_term_memory.py +0 -0
  18. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_misc.py +0 -0
  19. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_multiple_agents.py +0 -0
  20. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_runner.py +0 -0
  21. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_runtime_data_collecting.py +0 -0
  22. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_short_term_memory.py +0 -0
  23. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_tracing.py +0 -0
  24. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_ve_a2a_middlewares.py +0 -0
  25. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_ve_identity_auth_config.py +0 -0
  26. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_ve_identity_function_tool.py +0 -0
  27. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_ve_identity_mcp_tool.py +0 -0
  28. {veadk_python-0.2.24 → veadk_python-0.2.25}/tests/test_ve_identity_mcp_toolset.py +0 -0
  29. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/__init__.py +0 -0
  30. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/a2a/__init__.py +0 -0
  31. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/a2a/agent_card.py +0 -0
  32. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/a2a/remote_ve_agent.py +0 -0
  33. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/a2a/utils/__init__.py +0 -0
  34. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/a2a/utils/agent_to_a2a.py +0 -0
  35. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/a2a/ve_a2a_server.py +0 -0
  36. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/a2a/ve_agent_executor.py +0 -0
  37. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/a2a/ve_middlewares.py +0 -0
  38. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/a2a/ve_task_store.py +0 -0
  39. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/agent.py +0 -0
  40. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/agent_builder.py +0 -0
  41. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/agents/loop_agent.py +0 -0
  42. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/agents/parallel_agent.py +0 -0
  43. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/agents/sequential_agent.py +0 -0
  44. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/__init__.py +0 -0
  45. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/base_auth.py +0 -0
  46. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/ve_credential_service.py +0 -0
  47. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/__init__.py +0 -0
  48. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/apmplus_veauth.py +0 -0
  49. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/ark_veauth.py +0 -0
  50. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/base_veauth.py +0 -0
  51. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/cozeloop_veauth.py +0 -0
  52. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/opensearch_veauth.py +0 -0
  53. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/postgresql_veauth.py +0 -0
  54. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/prompt_pilot_veauth.py +0 -0
  55. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/speech_veauth.py +0 -0
  56. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/utils.py +0 -0
  57. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/vesearch_veauth.py +0 -0
  58. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/auth/veauth/viking_mem0_veauth.py +0 -0
  59. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/__init__.py +0 -0
  60. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli.py +0 -0
  61. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_clean.py +0 -0
  62. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_create.py +0 -0
  63. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_deploy.py +0 -0
  64. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_eval.py +0 -0
  65. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_init.py +0 -0
  66. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_kb.py +0 -0
  67. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_pipeline.py +0 -0
  68. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_prompt.py +0 -0
  69. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_update.py +0 -0
  70. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_uploadevalset.py +0 -0
  71. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cli/cli_web.py +0 -0
  72. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cloud/__init__.py +0 -0
  73. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cloud/cloud_agent_engine.py +0 -0
  74. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/cloud/cloud_app.py +0 -0
  75. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/configs/__init__.py +0 -0
  76. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/configs/auth_configs.py +0 -0
  77. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/configs/database_configs.py +0 -0
  78. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/configs/model_configs.py +0 -0
  79. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/configs/tool_configs.py +0 -0
  80. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/configs/tracing_configs.py +0 -0
  81. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/consts.py +0 -0
  82. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/evaluation/__init__.py +0 -0
  83. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/evaluation/adk_evaluator/__init__.py +0 -0
  84. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/evaluation/adk_evaluator/adk_evaluator.py +0 -0
  85. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/evaluation/base_evaluator.py +0 -0
  86. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/evaluation/deepeval_evaluator/__init__.py +0 -0
  87. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/evaluation/deepeval_evaluator/deepeval_evaluator.py +0 -0
  88. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/evaluation/eval_set_file_loader.py +0 -0
  89. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/evaluation/eval_set_recorder.py +0 -0
  90. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/evaluation/types.py +0 -0
  91. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/evaluation/utils/prometheus.py +0 -0
  92. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/__init__.py +0 -0
  93. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_apig/__init__.py +0 -0
  94. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_apig/ve_apig.py +0 -0
  95. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_apig/ve_apig_utils.py +0 -0
  96. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_code_pipeline/__init__.py +0 -0
  97. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_code_pipeline/ve_code_pipeline.py +0 -0
  98. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_cozeloop/__init__.py +0 -0
  99. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_cozeloop/ve_cozeloop.py +0 -0
  100. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_cr/__init__.py +0 -0
  101. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_cr/ve_cr.py +0 -0
  102. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/__init__.py +0 -0
  103. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/cookiecutter.json +0 -0
  104. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/__init__.py +0 -0
  105. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/clean.py +0 -0
  106. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/config.yaml.example +0 -0
  107. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/deploy.py +0 -0
  108. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/src/__init__.py +0 -0
  109. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/src/agent.py +0 -0
  110. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/src/app.py +0 -0
  111. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/src/requirements.txt +0 -0
  112. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/src/run.sh +0 -0
  113. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/src/{{ cookiecutter.app_name }}/__init__.py +0 -0
  114. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/template/{{cookiecutter.local_dir_name}}/src/{{ cookiecutter.app_name }}/agent.py +0 -0
  115. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/ve_faas.py +0 -0
  116. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/ve_faas_utils.py +0 -0
  117. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/cookiecutter.json +0 -0
  118. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/__init__.py +0 -0
  119. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/clean.py +0 -0
  120. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/config.yaml.example +0 -0
  121. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/deploy.py +0 -0
  122. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/Dockerfile +0 -0
  123. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/app.py +0 -0
  124. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/init_db.py +0 -0
  125. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/models.py +0 -0
  126. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/requirements.txt +0 -0
  127. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/run.sh +0 -0
  128. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/static/css/style.css +0 -0
  129. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/static/js/admin.js +0 -0
  130. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/templates/admin/dashboard.html +0 -0
  131. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/templates/admin/edit_post.html +0 -0
  132. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/templates/admin/login.html +0 -0
  133. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/templates/admin/posts.html +0 -0
  134. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/templates/base.html +0 -0
  135. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/templates/index.html +0 -0
  136. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_faas/web_template/{{cookiecutter.local_dir_name}}/src/templates/post.html +0 -0
  137. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/__init__.py +0 -0
  138. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/auth_config.py +0 -0
  139. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/auth_mixins.py +0 -0
  140. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/auth_processor.py +0 -0
  141. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/function_tool.py +0 -0
  142. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/identity_client.py +0 -0
  143. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/mcp_tool.py +0 -0
  144. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/mcp_toolset.py +0 -0
  145. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/models.py +0 -0
  146. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/token_manager.py +0 -0
  147. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_identity/utils.py +0 -0
  148. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_prompt_pilot/__init__.py +0 -0
  149. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_prompt_pilot/ve_prompt_pilot.py +0 -0
  150. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_tls/__init__.py +0 -0
  151. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_tls/utils.py +0 -0
  152. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_tls/ve_tls.py +0 -0
  153. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_tos/ve_tos.py +0 -0
  154. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_viking_db_memory/__init__.py +0 -0
  155. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/integrations/ve_viking_db_memory/ve_viking_db_memory.py +0 -0
  156. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/knowledgebase/__init__.py +0 -0
  157. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/knowledgebase/backends/__init__.py +0 -0
  158. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/knowledgebase/backends/base_backend.py +0 -0
  159. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/knowledgebase/backends/in_memory_backend.py +0 -0
  160. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/knowledgebase/backends/opensearch_backend.py +0 -0
  161. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/knowledgebase/backends/redis_backend.py +0 -0
  162. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/knowledgebase/backends/utils.py +0 -0
  163. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/knowledgebase/entry.py +0 -0
  164. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/knowledgebase/knowledgebase.py +0 -0
  165. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/__init__.py +0 -0
  166. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/long_term_memory.py +0 -0
  167. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/long_term_memory_backends/__init__.py +0 -0
  168. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/long_term_memory_backends/base_backend.py +0 -0
  169. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/long_term_memory_backends/in_memory_backend.py +0 -0
  170. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/long_term_memory_backends/mem0_backend.py +0 -0
  171. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/long_term_memory_backends/opensearch_backend.py +0 -0
  172. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/long_term_memory_backends/redis_backend.py +0 -0
  173. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/short_term_memory.py +0 -0
  174. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/short_term_memory_backends/__init__.py +0 -0
  175. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/short_term_memory_backends/base_backend.py +0 -0
  176. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/short_term_memory_backends/mysql_backend.py +0 -0
  177. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/short_term_memory_backends/postgresql_backend.py +0 -0
  178. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/short_term_memory_backends/sqlite_backend.py +0 -0
  179. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/memory/short_term_memory_processor.py +0 -0
  180. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/processors/__init__.py +0 -0
  181. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/processors/base_run_processor.py +0 -0
  182. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/prompts/__init__.py +0 -0
  183. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/prompts/agent_default_prompt.py +0 -0
  184. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/prompts/prompt_evaluator.py +0 -0
  185. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/prompts/prompt_memory_processor.py +0 -0
  186. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/prompts/prompt_optimization.py +0 -0
  187. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/__init__.py +0 -0
  188. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/__init__.py +0 -0
  189. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/agent_authorization.py +0 -0
  190. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/generate_image.py +0 -0
  191. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/image_edit.py +0 -0
  192. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/image_generate.py +0 -0
  193. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/lark.py +0 -0
  194. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/las.py +0 -0
  195. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/link_reader.py +0 -0
  196. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/llm_shield.py +0 -0
  197. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/load_knowledgebase.py +0 -0
  198. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/mcp_router.py +0 -0
  199. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/run_code.py +0 -0
  200. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/tts.py +0 -0
  201. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/vesearch.py +0 -0
  202. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/video_generate.py +0 -0
  203. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/web_scraper.py +0 -0
  204. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/builtin_tools/web_search.py +0 -0
  205. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/demo_tools.py +0 -0
  206. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/load_knowledgebase_tool.py +0 -0
  207. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/sandbox/__init__.py +0 -0
  208. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/sandbox/browser_sandbox.py +0 -0
  209. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/sandbox/code_sandbox.py +0 -0
  210. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tools/sandbox/computer_sandbox.py +0 -0
  211. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/__init__.py +0 -0
  212. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/base_tracer.py +0 -0
  213. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/__init__.py +0 -0
  214. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/attributes/attributes.py +0 -0
  215. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/attributes/extractors/common_attributes_extractors.py +0 -0
  216. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/attributes/extractors/llm_attributes_extractors.py +0 -0
  217. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/attributes/extractors/tool_attributes_extractors.py +0 -0
  218. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/attributes/extractors/types.py +0 -0
  219. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/exporters/__init__.py +0 -0
  220. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/exporters/apmplus_exporter.py +0 -0
  221. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/exporters/base_exporter.py +0 -0
  222. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/exporters/cozeloop_exporter.py +0 -0
  223. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/exporters/inmemory_exporter.py +0 -0
  224. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/exporters/tls_exporter.py +0 -0
  225. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/opentelemetry_tracer.py +0 -0
  226. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/tracing/telemetry/telemetry.py +0 -0
  227. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/types.py +0 -0
  228. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/utils/__init__.py +0 -0
  229. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/utils/audio_manager.py +0 -0
  230. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/utils/auth.py +0 -0
  231. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/utils/logger.py +0 -0
  232. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/utils/mcp_utils.py +0 -0
  233. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/utils/patches.py +0 -0
  234. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk/utils/volcengine_sign.py +0 -0
  235. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk_python.egg-info/SOURCES.txt +0 -0
  236. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk_python.egg-info/dependency_links.txt +0 -0
  237. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk_python.egg-info/entry_points.txt +0 -0
  238. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk_python.egg-info/requires.txt +0 -0
  239. {veadk_python-0.2.24 → veadk_python-0.2.25}/veadk_python.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: veadk-python
3
- Version: 0.2.24
3
+ Version: 0.2.25
4
4
  Summary: Volcengine agent development kit, integrations with Volcengine cloud services.
5
5
  Author-email: Yaozheng Fang <fangyozheng@gmail.com>, Guodong Li <cu.eric.lee@gmail.com>, Zhi Han <sliverydayday@gmail.com>, Meng Wang <mengwangwm@gmail.com>
6
6
  License: Apache License
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "veadk-python"
3
- version = "0.2.24"
3
+ version = "0.2.25"
4
4
  description = "Volcengine agent development kit, integrations with Volcengine cloud services."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -15,7 +15,7 @@
15
15
  import os
16
16
  from typing import Any
17
17
 
18
- from dotenv import find_dotenv, load_dotenv
18
+ from dotenv import find_dotenv, load_dotenv, dotenv_values
19
19
  from pydantic import BaseModel, Field
20
20
 
21
21
  from veadk.configs.auth_configs import VeIdentityConfig
@@ -39,10 +39,14 @@ from veadk.utils.misc import set_envs
39
39
 
40
40
  logger = get_logger(__name__)
41
41
 
42
- if load_dotenv(find_dotenv(usecwd=True)):
43
- logger.info(f"Find `.env` file in {find_dotenv(usecwd=True)}, load envs.")
42
+ env_file_path = os.path.join(os.getcwd(), ".env")
43
+ if os.path.isfile(env_file_path):
44
+ load_dotenv(env_file_path)
45
+ env_from_dotenv = dotenv_values(env_file_path)
46
+ logger.info(f"Find `.env` file in {env_file_path}, load envs.")
44
47
  else:
45
- logger.info("No env file found.")
48
+ env_from_dotenv = {}
49
+ logger.info("No `.env` file found.")
46
50
 
47
51
 
48
52
  class VeADKConfig(BaseModel):
@@ -97,11 +101,13 @@ def getenv(
97
101
 
98
102
  config_yaml_path = find_dotenv(filename="config.yaml", usecwd=True)
99
103
 
100
- veadk_environments = {}
104
+ veadk_environments = dict(env_from_dotenv)
101
105
 
102
106
  if config_yaml_path:
103
107
  logger.info(f"Find `config.yaml` file in {config_yaml_path}")
104
- config_dict, _veadk_environments = set_envs(config_yaml_path=config_yaml_path)
108
+ config_dict, _veadk_environments = set_envs(
109
+ config_yaml_path=config_yaml_path, env_from_dotenv=env_from_dotenv
110
+ )
105
111
  veadk_environments.update(_veadk_environments)
106
112
  else:
107
113
  logger.warning("No `config.yaml` file found.")
@@ -124,6 +124,7 @@ class VikingDBKnowledgeBackend(BaseKnowledgebaseBackend):
124
124
  logger.warning(
125
125
  f"VikingDB knowledgebase collection {self.index} does not exist, please create it first..."
126
126
  )
127
+ self.create_collection()
127
128
 
128
129
  def precheck_index_naming(self):
129
130
  if not (
@@ -443,6 +444,9 @@ class VikingDBKnowledgeBackend(BaseKnowledgebaseBackend):
443
444
  path=CREATE_COLLECTION_PATH,
444
445
  method="POST",
445
446
  )
447
+ logger.debug(
448
+ f"Create collection {self.index} using project {self.volcengine_project} response: {response}"
449
+ )
446
450
 
447
451
  if response.get("code") != 0:
448
452
  raise ValueError(
@@ -62,7 +62,8 @@ class VikingDBLTMBackend(BaseLongTermMemoryBackend):
62
62
  # "event_1, event_2" -> ["event_1", "event_2"]
63
63
  self.memory_type = [x.strip() for x in env_memory_type.split(",")]
64
64
  else:
65
- self.memory_type = ["sys_event_v1", "event_v1"]
65
+ # self.memory_type = ["sys_event_v1", "event_v1"]
66
+ self.memory_type = ["sys_event_v1"]
66
67
 
67
68
  logger.info(f"Using memory type: {self.memory_type}")
68
69
 
@@ -303,9 +303,9 @@ class Runner(ADKRunner):
303
303
 
304
304
  def __init__(
305
305
  self,
306
- agent: BaseAgent | Agent,
306
+ agent: BaseAgent | Agent | None = None,
307
307
  short_term_memory: ShortTermMemory | None = None,
308
- app_name: str = "veadk_default_app",
308
+ app_name: str | None = None,
309
309
  user_id: str = "veadk_default_user",
310
310
  upload_inline_data_to_tos: bool = False,
311
311
  run_processor: "BaseRunProcessor | None" = None,
@@ -324,15 +324,15 @@ class Runner(ADKRunner):
324
324
  agent (google.adk.agents.base_agent.BaseAgent | veadk.agent.Agent):
325
325
  The agent instance used to run interactions.
326
326
  short_term_memory (ShortTermMemory | None): Optional short-term memory; if
327
- not provided and no external ``session_service`` is supplied, an in-memory
327
+ not provided and no external `session_service` is supplied, an in-memory
328
328
  session service will be created.
329
- app_name (str): Application name. Defaults to ``"veadk_default_app"``.
330
- user_id (str): Default user ID. Defaults to ``"veadk_default_user"``.
331
- upload_inline_data_to_tos (bool): Whether to enable inline media upload. Defaults to ``False``.
329
+ app_name (str): Application name. Defaults to `veadk_default_app`.
330
+ user_id (str): Default user ID. Defaults to `veadk_default_user`.
331
+ upload_inline_data_to_tos (bool): Whether to enable inline media upload. Defaults to `False`.
332
332
  run_processor (BaseRunProcessor | None): Optional run processor for intercepting agent execution.
333
333
  If not provided, will try to get from agent. If agent doesn't have one, uses NoOpRunProcessor.
334
- *args: Positional args passed through to ``ADKRunner``.
335
- **kwargs: Keyword args passed through to ``ADKRunner``; may include
334
+ *args: Positional args passed through to `ADKRunner`.
335
+ **kwargs: Keyword args passed through to `ADKRunner`; may include
336
336
  ``session_service`` and ``memory_service`` to override defaults.
337
337
 
338
338
  Returns:
@@ -393,6 +393,10 @@ class Runner(ADKRunner):
393
393
  else:
394
394
  logger.info("No long term memory provided.")
395
395
 
396
+ # For forward compatibility, we pass app_name to ADKRunner.
397
+ if not kwargs.get("app") and not app_name:
398
+ app_name = "veadk_default_app"
399
+
396
400
  super().__init__(
397
401
  agent=agent,
398
402
  session_service=session_service,
@@ -128,7 +128,7 @@ def getenv(
128
128
  )
129
129
 
130
130
 
131
- def set_envs(config_yaml_path: str) -> tuple[dict, dict]:
131
+ def set_envs(config_yaml_path: str, env_from_dotenv: dict = None) -> tuple[dict, dict]:
132
132
  from veadk.utils.logger import get_logger
133
133
 
134
134
  logger = get_logger(__name__)
@@ -138,15 +138,14 @@ def set_envs(config_yaml_path: str) -> tuple[dict, dict]:
138
138
 
139
139
  flatten_config_dict = flatten_dict(config_dict)
140
140
 
141
- veadk_environments = {}
141
+ veadk_environments = dict(env_from_dotenv)
142
142
  for k, v in flatten_config_dict.items():
143
143
  k = k.upper()
144
144
 
145
- if k in os.environ:
145
+ if k in env_from_dotenv:
146
146
  logger.info(
147
- f"Environment variable {k} has been set, value in `config.yaml` will be ignored."
147
+ f"Environment variable {k} has been set in .env, value in `config.yaml` will be ignored."
148
148
  )
149
- veadk_environments[k] = os.environ[k]
150
149
  continue
151
150
  veadk_environments[k] = str(v)
152
151
  os.environ[k] = str(v)
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- VERSION = "0.2.24"
15
+ VERSION = "0.2.25"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: veadk-python
3
- Version: 0.2.24
3
+ Version: 0.2.25
4
4
  Summary: Volcengine agent development kit, integrations with Volcengine cloud services.
5
5
  Author-email: Yaozheng Fang <fangyozheng@gmail.com>, Guodong Li <cu.eric.lee@gmail.com>, Zhi Han <sliverydayday@gmail.com>, Meng Wang <mengwangwm@gmail.com>
6
6
  License: Apache License
File without changes
File without changes
File without changes