versionhq 1.2.2.7__tar.gz → 1.2.2.9__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 (153) hide show
  1. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.gitignore +0 -2
  2. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/PKG-INFO +2 -2
  3. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/README.md +1 -1
  4. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/llm/index.md +1 -4
  5. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/index.md +1 -1
  6. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/pyproject.toml +1 -1
  7. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/__init__.py +1 -1
  8. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/llm/llm_vars.py +30 -32
  9. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/llm/model.py +4 -1
  10. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq.egg-info/PKG-INFO +2 -2
  11. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/llm/llm_connection_test.py +1 -0
  12. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/uv.lock +1 -1
  13. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.env.sample +0 -0
  14. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.github/workflows/deploy_docs.yml +0 -0
  15. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.github/workflows/publish.yml +0 -0
  16. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.github/workflows/publish_testpypi.yml +0 -0
  17. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.github/workflows/run_tests.yml +0 -0
  18. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.github/workflows/security_check.yml +0 -0
  19. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.pre-commit-config.yaml +0 -0
  20. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.python-version +0 -0
  21. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/LICENSE +0 -0
  22. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/SECURITY.md +0 -0
  23. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/db/preprocess.py +0 -0
  24. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/CNAME +0 -0
  25. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/_logos/favicon.ico +0 -0
  26. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/_logos/logo192.png +0 -0
  27. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent/config.md +0 -0
  28. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent/index.md +0 -0
  29. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent/task-handling.md +0 -0
  30. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent-network/config.md +0 -0
  31. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent-network/form.md +0 -0
  32. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent-network/index.md +0 -0
  33. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent-network/ref.md +0 -0
  34. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/evaluation.md +0 -0
  35. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/index.md +0 -0
  36. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/response-field.md +0 -0
  37. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/task-execution.md +0 -0
  38. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/task-output.md +0 -0
  39. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/task-ref.md +0 -0
  40. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/task-strc-response.md +0 -0
  41. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task-graph/index.md +0 -0
  42. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/tool.md +0 -0
  43. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/quickstart.md +0 -0
  44. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/stylesheets/main.css +0 -0
  45. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/tags.md +0 -0
  46. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/mkdocs.yml +0 -0
  47. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/requirements-dev.txt +0 -0
  48. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/requirements.txt +0 -0
  49. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/runtime.txt +0 -0
  50. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/setup.cfg +0 -0
  51. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/__init__.py +0 -0
  52. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/i18n.py +0 -0
  53. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/llm_as_a_judge.py +0 -0
  54. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/logger.py +0 -0
  55. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/process_config.py +0 -0
  56. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/usage_metrics.py +0 -0
  57. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/vars.py +0 -0
  58. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/TEMPLATES/Backstory.py +0 -0
  59. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/TEMPLATES/__init__.py +0 -0
  60. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/__init__.py +0 -0
  61. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/inhouse_agents.py +0 -0
  62. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/model.py +0 -0
  63. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/parser.py +0 -0
  64. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/rpm_controller.py +0 -0
  65. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent_network/__init__.py +0 -0
  66. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent_network/formation.py +0 -0
  67. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent_network/model.py +0 -0
  68. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/cli/__init__.py +0 -0
  69. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/__init__.py +0 -0
  70. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/customer/__init__.py +0 -0
  71. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/customer/model.py +0 -0
  72. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/product/__init__.py +0 -0
  73. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/product/model.py +0 -0
  74. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/workflow/__init__.py +0 -0
  75. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/workflow/model.py +0 -0
  76. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/__init__.py +0 -0
  77. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/_utils.py +0 -0
  78. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/embedding.py +0 -0
  79. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/model.py +0 -0
  80. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/source.py +0 -0
  81. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/source_docling.py +0 -0
  82. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/storage.py +0 -0
  83. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/llm/__init__.py +0 -0
  84. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/memory/__init__.py +0 -0
  85. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/memory/contextual_memory.py +0 -0
  86. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/memory/model.py +0 -0
  87. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/__init__.py +0 -0
  88. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/base.py +0 -0
  89. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/ltm_sqlite_storage.py +0 -0
  90. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/mem0_storage.py +0 -0
  91. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/rag_storage.py +0 -0
  92. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/task_output_storage.py +0 -0
  93. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/utils.py +0 -0
  94. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/TEMPLATES/Description.py +0 -0
  95. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/__init__.py +0 -0
  96. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/evaluation.py +0 -0
  97. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/formatter.py +0 -0
  98. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/model.py +0 -0
  99. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/structured_response.py +0 -0
  100. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task_graph/__init__.py +0 -0
  101. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task_graph/colors.py +0 -0
  102. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task_graph/draft.py +0 -0
  103. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task_graph/model.py +0 -0
  104. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/__init__.py +0 -0
  105. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/cache_handler.py +0 -0
  106. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/composio_tool.py +0 -0
  107. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/composio_tool_vars.py +0 -0
  108. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/decorator.py +0 -0
  109. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/model.py +0 -0
  110. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/rag_tool.py +0 -0
  111. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/tool_handler.py +0 -0
  112. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq.egg-info/SOURCES.txt +0 -0
  113. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq.egg-info/dependency_links.txt +0 -0
  114. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq.egg-info/requires.txt +0 -0
  115. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq.egg-info/top_level.txt +0 -0
  116. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/__init__.py +0 -0
  117. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/_sample/sample.csv +0 -0
  118. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/_sample/sample.json +0 -0
  119. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent/__init__.py +0 -0
  120. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent/agent_test.py +0 -0
  121. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent/doc_test.py +0 -0
  122. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent_network/Prompts/Demo_test.py +0 -0
  123. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent_network/__init__.py +0 -0
  124. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent_network/agent_network_test.py +0 -0
  125. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent_network/doc_test.py +0 -0
  126. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/cli/__init__.py +0 -0
  127. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/clients/customer_test.py +0 -0
  128. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/clients/product_test.py +0 -0
  129. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/clients/workflow_test.py +0 -0
  130. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/conftest.py +0 -0
  131. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/doc_test.py +0 -0
  132. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/formation_test.py +0 -0
  133. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/knowledge/__init__.py +0 -0
  134. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/knowledge/knowledge_test.py +0 -0
  135. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/knowledge/mock_report_compressed.pdf +0 -0
  136. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/llm/__init__.py +0 -0
  137. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/llm/llm_test.py +0 -0
  138. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/memory/__init__.py +0 -0
  139. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/memory/memory_test.py +0 -0
  140. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task/__init__.py +0 -0
  141. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task/doc_taskoutput_test.py +0 -0
  142. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task/doc_test.py +0 -0
  143. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task/eval_test.py +0 -0
  144. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task/task_test.py +0 -0
  145. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task_graph/__init__.py +0 -0
  146. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task_graph/doc_test.py +0 -0
  147. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task_graph/task_graph_test.py +0 -0
  148. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/tool/__init__.py +0 -0
  149. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/tool/composio_test.py +0 -0
  150. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/tool/doc_test.py +0 -0
  151. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/tool/rag_tool_test.py +0 -0
  152. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/tool/tool_test.py +0 -0
  153. {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/usecase_test.py +0 -0
@@ -26,8 +26,6 @@ temp/*
26
26
  assets/*
27
27
 
28
28
 
29
-
30
-
31
29
  _logs/
32
30
  .logs/
33
31
  .cache/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: versionhq
3
- Version: 1.2.2.7
3
+ Version: 1.2.2.9
4
4
  Summary: An agentic orchestration framework for building agent networks that handle task automation.
5
5
  Author-email: Kuriko Iwai <kuriko@versi0n.io>
6
6
  License: MIT License
@@ -91,7 +91,7 @@ Requires-Dist: scikit-learn>=1.6.1; extra == "eval"
91
91
  ![MIT license](https://img.shields.io/badge/License-MIT-green)
92
92
  [![Publisher](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml/badge.svg)](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
93
93
  ![PyPI](https://img.shields.io/badge/PyPI-v1.2.2+-blue)
94
- ![python ver](https://img.shields.io/badge/Python-3.11/3.12-purple)
94
+ ![python ver](https://img.shields.io/badge/Python-3.11|3.12-purple)
95
95
  ![pyenv ver](https://img.shields.io/badge/pyenv-2.5.0-orange)
96
96
 
97
97
 
@@ -4,7 +4,7 @@
4
4
  ![MIT license](https://img.shields.io/badge/License-MIT-green)
5
5
  [![Publisher](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml/badge.svg)](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
6
6
  ![PyPI](https://img.shields.io/badge/PyPI-v1.2.2+-blue)
7
- ![python ver](https://img.shields.io/badge/Python-3.11/3.12-purple)
7
+ ![python ver](https://img.shields.io/badge/Python-3.11|3.12-purple)
8
8
  ![pyenv ver](https://img.shields.io/badge/pyenv-2.5.0-orange)
9
9
 
10
10
 
@@ -36,11 +36,8 @@ You can specify a model and integration platform from the list. Else, we'll use
36
36
  "openrouter": [
37
37
  "openrouter/deepseek/deepseek-r1",
38
38
  "openrouter/qwen/qwen-2.5-72b-instruct",
39
- "openrouter/google/gemini-2.0-flash-thinking-exp:free",
40
- "openrouter/google/gemini-2.0-flash-thinking-exp-1219:free",
41
39
  "openrouter/google/gemini-2.0-flash-001",
42
- "openrouter/meta-llama/llama-3.3-70b-instruct",
43
- "openrouter/mistralai/mistral-large-2411",
40
+ "openrouter/mistralai/mistral-large",
44
41
  "openrouter/cohere/command-r-plus",
45
42
  "openrouter/databricks/dbrx-instruct",
46
43
  ],
@@ -4,7 +4,7 @@
4
4
  ![MIT license](https://img.shields.io/badge/License-MIT-green)
5
5
  [![Publisher](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml/badge.svg)](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
6
6
  ![PyPI](https://img.shields.io/badge/PyPI-v1.2.2+-blue)
7
- ![python ver](https://img.shields.io/badge/Python-3.11/3.12-purple)
7
+ ![python ver](https://img.shields.io/badge/Python-3.11|3.12-purple)
8
8
  ![pyenv ver](https://img.shields.io/badge/pyenv-2.5.0-orange)
9
9
 
10
10
  A Python framework for agentic orchestration that handles complex task automation.
@@ -15,7 +15,7 @@ exclude = ["test*", "__pycache__", "*.egg-info"]
15
15
 
16
16
  [project]
17
17
  name = "versionhq"
18
- version = "1.2.2.7"
18
+ version = "1.2.2.9"
19
19
  authors = [{ name = "Kuriko Iwai", email = "kuriko@versi0n.io" }]
20
20
  description = "An agentic orchestration framework for building agent networks that handle task automation."
21
21
  readme = "README.md"
@@ -32,7 +32,7 @@ from versionhq.agent_network.formation import form_agent_network
32
32
  from versionhq.task_graph.draft import workflow
33
33
 
34
34
 
35
- __version__ = "1.2.2.7"
35
+ __version__ = "1.2.2.9"
36
36
  __all__ = [
37
37
  "Agent",
38
38
 
@@ -39,11 +39,8 @@ MODELS = {
39
39
  "openrouter": [
40
40
  "openrouter/deepseek/deepseek-r1",
41
41
  "openrouter/qwen/qwen-2.5-72b-instruct",
42
- "openrouter/google/gemini-2.0-flash-thinking-exp:free",
43
- "openrouter/google/gemini-2.0-flash-thinking-exp-1219:free",
44
42
  "openrouter/google/gemini-2.0-flash-001",
45
- "openrouter/meta-llama/llama-3.3-70b-instruct",
46
- "openrouter/mistralai/mistral-large-2411",
43
+ "openrouter/mistralai/mistral-large",
47
44
  "openrouter/cohere/command-r-plus",
48
45
  "openrouter/databricks/dbrx-instruct",
49
46
  ],
@@ -87,39 +84,40 @@ LLM_CONTEXT_WINDOW_SIZES = {
87
84
  "gpt-4": 8192,
88
85
  "gpt-4o": 128000,
89
86
  "gpt-4o-mini": 128000,
90
- "gpt-4-turbo": 128000,
91
87
  "o1-preview": 128000,
92
88
  "o1-mini": 128000,
93
89
 
94
90
  "gemini/gemini-1.5-flash": 1048576,
95
91
  "gemini/gemini-1.5-pro": 2097152,
96
92
  "gemini/gemini-2.0-flash-exp": 1048576,
97
- "gemini/gemini-gemma-2-9b-it": 8192,
98
- "gemini/gemini-gemma-2-27b-it": 8192,
99
-
100
- "claude-3-5-sonnet-20241022": 200000,
101
- "claude-3-5-sonnet-20240620": 200000,
102
- "claude-3-sonnet-20240229": 200000,
103
- "claude-3-opus-20240229": 200000,
104
- "claude-3-haiku-20240307": 200000,
105
- "claude-3-5-sonnet-2024102": 200000,
106
-
107
- "deepseek-chat": 128000,
108
- "deepseek/deepseek-reasoner": 8192,
109
-
110
- "gemma2-9b-it": 8192,
111
- "gemma-7b-it": 8192,
112
- "llama3-groq-70b-8192-tool-use-preview": 8192,
113
- "llama3-groq-8b-8192-tool-use-preview": 8192,
114
- "llama-3.1-70b-versatile": 131072,
115
- "llama-3.1-8b-instant": 131072,
116
- "llama-3.2-1b-preview": 8192,
117
- "llama-3.2-3b-preview": 8192,
118
- "llama-3.2-11b-text-preview": 8192,
119
- "llama-3.2-90b-text-preview": 8192,
120
- "llama3-70b-8192": 8192,
121
- "llama3-8b-8192": 8192,
122
- "mixtral-8x7b-32768": 32768,
93
+
94
+ "claude-3-7-sonnet-latest": 200000,
95
+ "claude-3-5-haiku-latest": 200000,
96
+ "claude-3-5-sonnet-latest": 200000,
97
+ "claude-3-opus-latest": 200000,
98
+
99
+ "openrouter/deepseek/deepseek-r1" :65336,
100
+ "openrouter/qwen/qwen-2.5-72b-instruct": 33792,
101
+ "openrouter/google/gemini-2.0-flash-001": 1048576,
102
+ "openrouter/mistralai/mistral-large": 32000,
103
+ "openrouter/cohere/command-r-plus": 128000,
104
+ "openrouter/databricks/dbrx-instruct": 32768,
105
+
106
+ "bedrock/converse/us.meta.llama3-3-70b-instruct-v1:0": 8192,
107
+ "bedrock/us.meta.llama3-2-1b-instruct-v1:0": 128000,
108
+ "bedrock/us.meta.llama3-2-3b-instruct-v1:0": 128000,
109
+ "bedrock/us.meta.llama3-2-11b-instruct-v1:0": 128000,
110
+ "bedrock/us.meta.llama3-2-90b-instruct-v1:0": 128000,
111
+ "bedrock/mistral.mistral-7b-instruct-v0:2": 8191,
112
+ "bedrock/mistral.mixtral-8x7b-instruct-v0:1": 8191,
113
+ "bedrock/mistral.mistral-large-2407-v1:0": 8191,
114
+ "bedrock/amazon.titan-text-lite-v1": 4000,
115
+ "bedrock/amazon.titan-text-express-v1": 8000,
116
+ "bedrock/amazon.titan-text-premier-v1:0": 32000,
117
+ "bedrock/cohere.command-r-plus-v1:0": 4096,
118
+ "bedrock/cohere.command-r-v1:0": 4096,
119
+ "bedrock/cohere.command-text-v14": 4096,
120
+ "bedrock/cohere.command-light-text-v14": 4096,
123
121
  }
124
122
 
125
123
 
@@ -136,6 +134,7 @@ PARAMS = {
136
134
  "context_window_fallback_dict",
137
135
  "fallbacks",
138
136
  "metadata",
137
+ "api_key",
139
138
  ],
140
139
  "common": [
141
140
  "model",
@@ -150,7 +149,6 @@ PARAMS = {
150
149
  "n",
151
150
  "stop",
152
151
  # "base_url",
153
- # "api_key",
154
152
  ],
155
153
  "openai": [
156
154
  "timeout",
@@ -69,7 +69,6 @@ class LLM(BaseModel):
69
69
 
70
70
  _logger: Logger = PrivateAttr(default_factory=lambda: Logger(verbose=True))
71
71
  _init_model_name: str = PrivateAttr(default=None)
72
- # _init_config: Optional[Dict[str, Any]] = PrivateAttr(default_factory=dict) # stores llm config passed by client or agent
73
72
  _tokens: int = PrivateAttr(default=0) # aggregate number of tokens consumed
74
73
 
75
74
  model: str = Field(default=None)
@@ -229,6 +228,10 @@ class LLM(BaseModel):
229
228
  else:
230
229
  pass
231
230
 
231
+ if "max_tokens" in valid_config:
232
+ if self.context_window_size and valid_config["max_tokens"] > self.context_window_size:
233
+ valid_config["max_tokens"] = self.context_window_size
234
+
232
235
  self.llm_config = valid_config
233
236
  return valid_config
234
237
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: versionhq
3
- Version: 1.2.2.7
3
+ Version: 1.2.2.9
4
4
  Summary: An agentic orchestration framework for building agent networks that handle task automation.
5
5
  Author-email: Kuriko Iwai <kuriko@versi0n.io>
6
6
  License: MIT License
@@ -91,7 +91,7 @@ Requires-Dist: scikit-learn>=1.6.1; extra == "eval"
91
91
  ![MIT license](https://img.shields.io/badge/License-MIT-green)
92
92
  [![Publisher](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml/badge.svg)](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
93
93
  ![PyPI](https://img.shields.io/badge/PyPI-v1.2.2+-blue)
94
- ![python ver](https://img.shields.io/badge/Python-3.11/3.12-purple)
94
+ ![python ver](https://img.shields.io/badge/Python-3.11|3.12-purple)
95
95
  ![pyenv ver](https://img.shields.io/badge/pyenv-2.5.0-orange)
96
96
 
97
97
 
@@ -48,6 +48,7 @@ def test_con(simple_task, tool_task, schema_task, res_field_task):
48
48
 
49
49
  for agent in agents:
50
50
  assert isinstance(agent.llm, LLM)
51
+ assert agent.llm.provider == "bedrock"
51
52
  assert agent.llm._init_model_name and agent.llm.provider and agent.llm.llm_config["max_tokens"] == agent.llm_config["max_tokens"]
52
53
 
53
54
  res_1 = simple_task.execute(agent=agent, context="running a test")
@@ -4075,7 +4075,7 @@ wheels = [
4075
4075
 
4076
4076
  [[package]]
4077
4077
  name = "versionhq"
4078
- version = "1.2.2.6"
4078
+ version = "1.2.2.8"
4079
4079
  source = { editable = "." }
4080
4080
  dependencies = [
4081
4081
  { name = "appdirs" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes