mirror of
https://github.com/coleam00/Archon.git
synced 2025-12-23 18:29:18 -05:00
Fixing up f strings for agent prompts
This commit is contained in:
@@ -47,9 +47,11 @@ advisor_agent = Agent(
|
||||
@advisor_agent.system_prompt
|
||||
def add_file_list(ctx: RunContext[str]) -> str:
|
||||
return f"""
|
||||
\nHere is the list of all the files that you can pull the contents of with the
|
||||
|
||||
Here is the list of all the files that you can pull the contents of with the
|
||||
'get_file_content' tool if the example/tool/MCP server is relevant to the
|
||||
agent the user is trying to build:\n
|
||||
agent the user is trying to build:
|
||||
|
||||
{"\n".join(ctx.deps.file_list)}
|
||||
"""
|
||||
|
||||
|
||||
@@ -54,7 +54,8 @@ pydantic_ai_coder = Agent(
|
||||
@pydantic_ai_coder.system_prompt
|
||||
def add_reasoner_output(ctx: RunContext[str]) -> str:
|
||||
return f"""
|
||||
\n\nAdditional thoughts/instructions from the reasoner LLM.
|
||||
|
||||
Additional thoughts/instructions from the reasoner LLM.
|
||||
This scope includes documentation pages for you to search as well:
|
||||
{ctx.deps.reasoner_output}
|
||||
|
||||
|
||||
@@ -56,9 +56,11 @@ tools_refiner_agent = Agent(
|
||||
@tools_refiner_agent.system_prompt
|
||||
def add_file_list(ctx: RunContext[str]) -> str:
|
||||
return f"""
|
||||
\nHere is the list of all the files that you can pull the contents of with the
|
||||
|
||||
Here is the list of all the files that you can pull the contents of with the
|
||||
'get_file_content' tool if the example/tool/MCP server is relevant to the
|
||||
agent the user is trying to build:\n
|
||||
agent the user is trying to build:
|
||||
|
||||
{"\n".join(ctx.deps.file_list)}
|
||||
"""
|
||||
|
||||
|
||||
@@ -47,9 +47,11 @@ advisor_agent = Agent(
|
||||
@advisor_agent.system_prompt
|
||||
def add_file_list(ctx: RunContext[str]) -> str:
|
||||
return f"""
|
||||
\nHere is the list of all the files that you can pull the contents of with the
|
||||
|
||||
Here is the list of all the files that you can pull the contents of with the
|
||||
'get_file_content' tool if the example/tool/MCP server is relevant to the
|
||||
agent the user is trying to build:\n
|
||||
agent the user is trying to build:
|
||||
|
||||
{"\n".join(ctx.deps.file_list)}
|
||||
"""
|
||||
|
||||
|
||||
@@ -54,7 +54,8 @@ pydantic_ai_coder = Agent(
|
||||
@pydantic_ai_coder.system_prompt
|
||||
def add_reasoner_output(ctx: RunContext[str]) -> str:
|
||||
return f"""
|
||||
\n\nAdditional thoughts/instructions from the reasoner LLM.
|
||||
|
||||
Additional thoughts/instructions from the reasoner LLM.
|
||||
This scope includes documentation pages for you to search as well:
|
||||
{ctx.deps.reasoner_output}
|
||||
|
||||
|
||||
@@ -56,9 +56,11 @@ tools_refiner_agent = Agent(
|
||||
@tools_refiner_agent.system_prompt
|
||||
def add_file_list(ctx: RunContext[str]) -> str:
|
||||
return f"""
|
||||
\nHere is the list of all the files that you can pull the contents of with the
|
||||
|
||||
Here is the list of all the files that you can pull the contents of with the
|
||||
'get_file_content' tool if the example/tool/MCP server is relevant to the
|
||||
agent the user is trying to build:\n
|
||||
agent the user is trying to build:
|
||||
|
||||
{"\n".join(ctx.deps.file_list)}
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user