hyperforge-conditional 1.0.0.post61__tar.gz → 1.0.0.post68__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 (17) hide show
  1. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/PKG-INFO +1 -1
  2. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/pyproject.toml +1 -1
  3. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional/conditional.py +3 -3
  4. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional.egg-info/PKG-INFO +1 -1
  5. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/README.md +0 -0
  6. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/setup.cfg +0 -0
  7. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional/__init__.py +0 -0
  8. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional/context_agent.py +0 -0
  9. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional/generation_agent.py +0 -0
  10. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional/postprocess_agent.py +0 -0
  11. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional/preprocess_agent.py +0 -0
  12. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional/py.typed +0 -0
  13. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional.egg-info/SOURCES.txt +0 -0
  14. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional.egg-info/dependency_links.txt +0 -0
  15. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional.egg-info/requires.txt +0 -0
  16. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/src/hyperforge_conditional.egg-info/top_level.txt +0 -0
  17. {hyperforge_conditional-1.0.0.post61 → hyperforge_conditional-1.0.0.post68}/tests/test_conditional.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyperforge_conditional
3
- Version: 1.0.0.post61
3
+ Version: 1.0.0.post68
4
4
  Summary: Conditional Hyperforge agent
5
5
  Author-email: Nuclia <nucliadb@nuclia.com>
6
6
  License-Expression: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "hyperforge_conditional"
7
- version = "1.0.0.post61"
7
+ version = "1.0.0.post68"
8
8
  license = "Apache-2.0"
9
9
  description = "Conditional Hyperforge agent"
10
10
  authors = [{ name = "Nuclia", email = "nucliadb@nuclia.com" }]
@@ -5,6 +5,7 @@ from typing import Any, Dict, List, Literal, Optional, cast
5
5
  from hyperforge import PROMPT_ENVIRONMENT
6
6
  from hyperforge.agent import Agent, AgentConfig
7
7
  from hyperforge.configure import get_agent_config_klass, get_agent_klass
8
+ from hyperforge.llm_config import LLMConfig, LLMField, llm_defaults
8
9
  from hyperforge.manager import Manager
9
10
  from hyperforge.memory.memory import QuestionMemory
10
11
  from hyperforge.trace import trace_agent
@@ -92,11 +93,10 @@ class ConditionalAgentConfig(AgentConfig):
92
93
  title="Evaluate condition on",
93
94
  description="Source to evaluate the condition on. ",
94
95
  )
95
- model: str = Field(
96
- default="chatgpt-o3-mini",
96
+ model: LLMField = Field(
97
+ default=LLMConfig(model_id=llm_defaults.reasoning),
97
98
  title="Generative model",
98
99
  description="Model used to assess the condition",
99
- json_schema_extra={"widget": WidgetType.MODEL_SELECT},
100
100
  )
101
101
 
102
102
  @field_serializer("then", "else_")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyperforge_conditional
3
- Version: 1.0.0.post61
3
+ Version: 1.0.0.post68
4
4
  Summary: Conditional Hyperforge agent
5
5
  Author-email: Nuclia <nucliadb@nuclia.com>
6
6
  License-Expression: Apache-2.0