versionhq 1.2.1.13__py3-none-any.whl → 1.2.1.15__py3-none-any.whl

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/__init__.py CHANGED
@@ -30,10 +30,8 @@ from versionhq.memory.model import ShortTermMemory,LongTermMemory, UserMemory, M
30
30
  from versionhq.task.formation import form_agent_network
31
31
  from versionhq.task_graph.draft import workflow
32
32
 
33
- # from versionhq._utils.logger import Logger
34
33
 
35
-
36
- __version__ = "1.2.1.13"
34
+ __version__ = "1.2.1.15"
37
35
  __all__ = [
38
36
  "Agent",
39
37
 
@@ -93,6 +91,4 @@ __all__ = [
93
91
 
94
92
  "form_agent_network",
95
93
  "workflow",
96
-
97
- # "Logger",
98
94
  ]
versionhq/agent/model.py CHANGED
@@ -587,11 +587,11 @@ class Agent(BaseModel):
587
587
  from versionhq.task.model import Task, ResponseField
588
588
 
589
589
  class Output(BaseModel):
590
+ result: str
590
591
  steps: list[str]
591
- conclution: str
592
592
 
593
593
  task = Task(
594
- description=f"List up first 3 steps that need to achieve {self.goal} in concise manner, then lead the conclusion in a sentence.",
594
+ description=f"Generate a simple result in a sentence to achieve the goal: {self.goal}. If needed, list up necessary steps in concise manner.",
595
595
  pydantic_output=Output
596
596
  )
597
597
  res = task.execute(agent=self, context=context)
@@ -14,7 +14,7 @@ from versionhq.task_graph.model import TaskGraph, Task, DependencyType, Node
14
14
  from versionhq._utils.logger import Logger
15
15
 
16
16
 
17
- def workflow(final_output: Type[BaseModel], context: Any = None, human: bool = False) -> TaskGraph | None:
17
+ def workflow(final_output: Type[BaseModel], context: Any = None, human: bool = False, use_memory: bool = False) -> TaskGraph | None:
18
18
  """
19
19
  Generate a TaskGraph object to generate the givne final_output most resource-efficiently.
20
20
  """
@@ -43,7 +43,7 @@ def workflow(final_output: Type[BaseModel], context: Any = None, human: bool = F
43
43
  ", ".join([k for k in DependencyType._member_map_.keys()]),
44
44
  ],
45
45
  llm="gemini-2.0",
46
- use_memory=True,
46
+ use_memory=use_memory,
47
47
  maxit=1,
48
48
  max_retry_limit=1,
49
49
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: versionhq
3
- Version: 1.2.1.13
3
+ Version: 1.2.1.15
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
@@ -1,4 +1,4 @@
1
- versionhq/__init__.py,sha256=JeSzuFAJKO5pk2-obf9PaNAPyMmcKlEJfnRvdeuCImw,2946
1
+ versionhq/__init__.py,sha256=v49Zr8uA1uDecJ9sdBDmFy0oknWouJm4rn2oWP6QMQ8,2883
2
2
  versionhq/_utils/__init__.py,sha256=dzoZr4cBlh-2QZuPzTdehPUCe9lP1dmRtauD7qTjUaA,158
3
3
  versionhq/_utils/i18n.py,sha256=TwA_PnYfDLA6VqlUDPuybdV9lgi3Frh_ASsb_X8jJo8,1483
4
4
  versionhq/_utils/logger.py,sha256=zgogTwAY-ujDLrdryAKhdtoaNe1nOFajmEN0V8aMR34,3155
@@ -7,7 +7,7 @@ versionhq/_utils/usage_metrics.py,sha256=NXF18dn5NNvGK7EsQ4AAghpR8ppYOjMx6ABenLL
7
7
  versionhq/_utils/vars.py,sha256=bZ5Dx_bFKlt3hi4-NNGXqdk7B23If_WaTIju2fiTyPQ,57
8
8
  versionhq/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  versionhq/agent/inhouse_agents.py,sha256=snDtgDmvZB2bZKH_RTcz5uFOMl3MTjLJwTQBebFt8hk,2532
10
- versionhq/agent/model.py,sha256=4wR-qftwtRjEH-LkXGk_LLI66EWtoLfv-p-8NjLmql0,25864
10
+ versionhq/agent/model.py,sha256=eFmkNuCJhXRhdYJR59J5PFxw5aghLvBrPRj4NXd7J0w,25873
11
11
  versionhq/agent/parser.py,sha256=riG0dkdQCxH7uJ0AbdVdg7WvL0BXhUgJht0VtQvxJBc,4082
12
12
  versionhq/agent/rpm_controller.py,sha256=grezIxyBci_lDlwAlgWFRyR5KOocXeOhYkgN02dNFNE,2360
13
13
  versionhq/agent/TEMPLATES/Backstory.py,sha256=IAhGnnt6VUMe3wO6IzeyZPDNu7XE7Uiu3VEXUreOcKs,532
@@ -52,7 +52,7 @@ versionhq/task/structured_response.py,sha256=4q-hQPu7oMMHHXEzh9YW4SJ7N5eCZ7OfZ65
52
52
  versionhq/task/TEMPLATES/Description.py,sha256=V-4kh8xpQTKOcDMi2xnuP-fcNk6kuoz1_5tYBlDLQWQ,420
53
53
  versionhq/task_graph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
54
54
  versionhq/task_graph/colors.py,sha256=naJCx4Vho4iuJtbW8USUXb-M5uYvd5ds2p8qbjUfRus,669
55
- versionhq/task_graph/draft.py,sha256=rt41kJ85g5l501K7PC-PVtn1oWmKABKsznorfivcDpc,5096
55
+ versionhq/task_graph/draft.py,sha256=gTEICHEoUwlka6TDc9Kw0pKnhdrKtNw5HKhkl9gjIYk,5128
56
56
  versionhq/task_graph/model.py,sha256=njyHQyHrVTZP46iVkC6YvuMnGcS40vOy1wszRtf7DHY,23971
57
57
  versionhq/tool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
58
  versionhq/tool/cache_handler.py,sha256=iL8FH7X0G-cdT0uhJwzuhLDaadTXOdfybZcDy151-es,1085
@@ -61,8 +61,8 @@ versionhq/tool/composio_tool_vars.py,sha256=FvBuEXsOQUYnN7RTFxT20kAkiEYkxWKkiVtg
61
61
  versionhq/tool/decorator.py,sha256=C4ZM7Xi2gwtEMaSeRo-geo_g_MAkY77WkSLkAuY0AyI,1205
62
62
  versionhq/tool/model.py,sha256=PO4zNWBZcJhYVur381YL1dy6zqurio2jWjtbxOxZMGI,12194
63
63
  versionhq/tool/tool_handler.py,sha256=2m41K8qo5bGCCbwMFferEjT-XZ-mE9F0mDUOBkgivOI,1416
64
- versionhq-1.2.1.13.dist-info/LICENSE,sha256=cRoGGdM73IiDs6nDWKqPlgSv7aR4n-qBXYnJlCMHCeE,1082
65
- versionhq-1.2.1.13.dist-info/METADATA,sha256=xHoEzKWyIEMy_mx1RSvhOYhWp-JvYfvcHARbY8kRHIA,22033
66
- versionhq-1.2.1.13.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
67
- versionhq-1.2.1.13.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
68
- versionhq-1.2.1.13.dist-info/RECORD,,
64
+ versionhq-1.2.1.15.dist-info/LICENSE,sha256=cRoGGdM73IiDs6nDWKqPlgSv7aR4n-qBXYnJlCMHCeE,1082
65
+ versionhq-1.2.1.15.dist-info/METADATA,sha256=bmi_7y_zYR9MIDpsD23IfdAGJ8YYs-ifo4xE1CJOFSE,22033
66
+ versionhq-1.2.1.15.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
67
+ versionhq-1.2.1.15.dist-info/top_level.txt,sha256=DClQwxDWqIUGeRJkA8vBlgeNsYZs4_nJWMonzFt5Wj0,10
68
+ versionhq-1.2.1.15.dist-info/RECORD,,