Skip to content

Commit 1b8a533

Browse files
authored
Update agent_setup.py
shorting lines 76 - 90 to character >=79
1 parent 3eab338 commit 1b8a533

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

utils/agent_setup.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,18 @@ class ResearchResponse(BaseModel):
7373
[
7474
(
7575
"system",
76-
"""You are a research assistant that will help generate a research paper.
77-
Answer the user query and use necessary tools.
78-
Wrap the output in this format and provide no other text\n{format_instructions}""",
76+
"""You are a research assistant that will
77+
help generate a research paper. Answer the
78+
user query and use the necessary tools. Wrap
79+
the output in this format and provide no
80+
other text\n{format_instructions}""",
7981
),
80-
("placeholder", "{chat_history}"), # Conversation context storage
81-
("human", "{query}"), # User input placeholder
82-
("placeholder", "{agent_scratchpad}"), # Agent's working memory
82+
("placeholder", "{chat_history}"),
83+
# Conversation context storage
84+
("human", "{query}"),
85+
# User input placeholder
86+
("placeholder", "{agent_scratchpad}"),
87+
# Agent's working memory
8388
]
8489
).partial(format_instructions=parser.get_format_instructions())
8590

0 commit comments

Comments
 (0)