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.
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.gitignore +0 -2
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/PKG-INFO +2 -2
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/README.md +1 -1
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/llm/index.md +1 -4
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/index.md +1 -1
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/pyproject.toml +1 -1
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/__init__.py +1 -1
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/llm/llm_vars.py +30 -32
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/llm/model.py +4 -1
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq.egg-info/PKG-INFO +2 -2
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/llm/llm_connection_test.py +1 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/uv.lock +1 -1
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.env.sample +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.github/workflows/deploy_docs.yml +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.github/workflows/publish.yml +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.github/workflows/publish_testpypi.yml +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.github/workflows/run_tests.yml +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.github/workflows/security_check.yml +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.pre-commit-config.yaml +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/.python-version +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/LICENSE +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/SECURITY.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/db/preprocess.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/CNAME +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/_logos/favicon.ico +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/_logos/logo192.png +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent/config.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent/index.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent/task-handling.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent-network/config.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent-network/form.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent-network/index.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/agent-network/ref.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/evaluation.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/index.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/response-field.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/task-execution.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/task-output.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/task-ref.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task/task-strc-response.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/task-graph/index.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/core/tool.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/quickstart.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/stylesheets/main.css +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/docs/tags.md +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/mkdocs.yml +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/requirements-dev.txt +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/requirements.txt +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/runtime.txt +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/setup.cfg +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/i18n.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/llm_as_a_judge.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/logger.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/process_config.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/usage_metrics.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/_utils/vars.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/TEMPLATES/Backstory.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/TEMPLATES/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/inhouse_agents.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/model.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/parser.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent/rpm_controller.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent_network/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent_network/formation.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/agent_network/model.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/cli/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/customer/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/customer/model.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/product/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/product/model.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/workflow/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/clients/workflow/model.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/_utils.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/embedding.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/model.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/source.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/source_docling.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/knowledge/storage.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/llm/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/memory/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/memory/contextual_memory.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/memory/model.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/base.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/ltm_sqlite_storage.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/mem0_storage.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/rag_storage.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/task_output_storage.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/storage/utils.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/TEMPLATES/Description.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/evaluation.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/formatter.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/model.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task/structured_response.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task_graph/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task_graph/colors.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task_graph/draft.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/task_graph/model.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/cache_handler.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/composio_tool.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/composio_tool_vars.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/decorator.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/model.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/rag_tool.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq/tool/tool_handler.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq.egg-info/SOURCES.txt +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq.egg-info/dependency_links.txt +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq.egg-info/requires.txt +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/src/versionhq.egg-info/top_level.txt +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/_sample/sample.csv +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/_sample/sample.json +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent/agent_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent/doc_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent_network/Prompts/Demo_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent_network/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent_network/agent_network_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/agent_network/doc_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/cli/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/clients/customer_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/clients/product_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/clients/workflow_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/conftest.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/doc_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/formation_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/knowledge/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/knowledge/knowledge_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/knowledge/mock_report_compressed.pdf +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/llm/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/llm/llm_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/memory/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/memory/memory_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task/doc_taskoutput_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task/doc_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task/eval_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task/task_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task_graph/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task_graph/doc_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/task_graph/task_graph_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/tool/__init__.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/tool/composio_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/tool/doc_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/tool/rag_tool_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/tool/tool_test.py +0 -0
- {versionhq-1.2.2.7 → versionhq-1.2.2.9}/tests/usecase_test.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: versionhq
|
3
|
-
Version: 1.2.2.
|
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
|

|
92
92
|
[](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
|
93
93
|

|
94
|
-

|
95
95
|

|
96
96
|
|
97
97
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|

|
5
5
|
[](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
|
6
6
|

|
7
|
-

|
8
8
|

|
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/
|
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
|

|
5
5
|
[](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
|
6
6
|

|
7
|
-

|
8
8
|

|
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.
|
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"
|
@@ -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/
|
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
|
-
|
98
|
-
"
|
99
|
-
|
100
|
-
"claude-3-5-sonnet-
|
101
|
-
"claude-3-
|
102
|
-
|
103
|
-
"
|
104
|
-
"
|
105
|
-
"
|
106
|
-
|
107
|
-
"
|
108
|
-
"
|
109
|
-
|
110
|
-
"
|
111
|
-
"
|
112
|
-
"llama3-
|
113
|
-
"llama3-
|
114
|
-
"
|
115
|
-
"
|
116
|
-
"
|
117
|
-
"
|
118
|
-
"
|
119
|
-
"
|
120
|
-
"
|
121
|
-
"
|
122
|
-
"
|
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.
|
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
|

|
92
92
|
[](https://github.com/versionHQ/multi-agent-system/actions/workflows/publish.yml)
|
93
93
|

|
94
|
-

|
95
95
|

|
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")
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|