Skip to content

Commit 3df47c6

Browse files
authored
Merge pull request #1398 from patched-codes/agentic-llm-retry
Add AgenticLLM retry
2 parents ab4d6c9 + 810c600 commit 3df47c6

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

patchwork/common/multiturn_strategy/agentic_strategy_v2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def __init__(
5757
self.__user_prompt_template = user_prompt_template
5858
self.__summariser = Agent(
5959
llm_client,
60+
result_retries=5,
6061
system_prompt=mustache_render(system_prompt_template, self.__template_data),
6162
result_type=example_json_to_base_model(example_json),
6263
model_settings=dict(

patchwork/steps/ManageEngineAgent/ManageEngineAgent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def __init__(self, inputs: dict):
4646
agent_configs=[
4747
AgentConfig(
4848
name="ManageEngine Assistant",
49+
model="claude-3-7-sonnet-latest",
4950
tool_set=dict(
5051
make_api_request=APIRequestTool(
5152
headers=self.headers,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "patchwork-cli"
3-
version = "0.0.107"
3+
version = "0.0.108"
44
description = ""
55
authors = ["patched.codes"]
66
license = "AGPL"

0 commit comments

Comments
 (0)