From f78ce6b09fbbd61b9b12e290cc85a5be8322d490 Mon Sep 17 00:00:00 2001
From: zyzhang1130 <36942574+zyzhang1130@users.noreply.github.com>
Date: Wed, 11 Dec 2024 13:31:21 +0800
Subject: [PATCH] pre-commit run
---
examples/data_interpreter_mulit-agent/di_agents.py | 2 +-
examples/data_interpreter_mulit-agent/di_multiagent.py | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/data_interpreter_mulit-agent/di_agents.py b/examples/data_interpreter_mulit-agent/di_agents.py
index 96f30b63f..7b9678e5a 100644
--- a/examples/data_interpreter_mulit-agent/di_agents.py
+++ b/examples/data_interpreter_mulit-agent/di_agents.py
@@ -198,7 +198,7 @@ def __init__(
max_iters=max_iters,
verbose=verbose,
)
-
+
# Overwrite the parser attribute with the custom format_instruction to reinforce the output adhere to json format.
self.parser = RegexTaggedContentParser(
format_instruction="""Respond with specific tags as outlined below in json format:
diff --git a/examples/data_interpreter_mulit-agent/di_multiagent.py b/examples/data_interpreter_mulit-agent/di_multiagent.py
index 784b667dd..cb6f20a0c 100644
--- a/examples/data_interpreter_mulit-agent/di_multiagent.py
+++ b/examples/data_interpreter_mulit-agent/di_multiagent.py
@@ -391,15 +391,15 @@ def init_agents() -> None:
# Overwrite the parser attribute with the custom format_instruction to reinforce the output adhere to json format.
solver_agent.parser = RegexTaggedContentParser(
- format_instruction="""Respond with specific tags as outlined below in json format:
+ format_instruction="""Respond with specific tags as outlined below in json format:
{what you thought}
{the function name you want to call}
<{argument name}>{argument value}{argument name}>
<{argument name}>{argument value}{argument name}>
...""", # noqa
- try_parse_json=True,
- required_keys=["thought", "function"],
- )
+ try_parse_json=True,
+ required_keys=["thought", "function"],
+ )
verifier_agent = VerifierAgent(
name="verifier",