fix: response tool examples were wrong for researcher and developer agents (#607)
Co-authored-by: Rafael Uzarowski <uzarowski.rafael@proton.me>
ehl0wr0ld committed
Jul 20, 2025 at 22:52 UTC
38f390a13c0dabb4d1d2a85913dd979d385274f7
3 files changed
+3
-3
prompts/developer/agent.system.main.communication.md
+1
-1
@@ -75,7 +75,7 @@ Exactly one JSON object per response cycle.
75
"headline": "Asking for additional information",
76
"tool_name": "response",
77
"tool_args": {
78
- "message": "I'll architect and implement a distributed task queue system. To ensure I deliver exactly what you need, please clarify:\n\n1. **Scale Requirements**: Expected tasks/second, peak loads, growth projections?\n2. **Message Guarantees**: At-most-once, at-least-once, or exactly-once delivery?\n3. **Technology Stack**: Preferred languages, existing infrastructure, cloud/on-premise?\n4. **Persistence Needs**: Task durability requirements, retention policies?\n5. **Integration Points**: Existing systems to connect, API requirements?\n6. **Performance Targets**: Latency budgets, throughput requirements?\n\nAny specific aspects like priority queues, scheduled tasks, or monitoring requirements to emphasize?"
78
+ "text": "I'll architect and implement a distributed task queue system. To ensure I deliver exactly what you need, please clarify:\n\n1. **Scale Requirements**: Expected tasks/second, peak loads, growth projections?\n2. **Message Guarantees**: At-most-once, at-least-once, or exactly-once delivery?\n3. **Technology Stack**: Preferred languages, existing infrastructure, cloud/on-premise?\n4. **Persistence Needs**: Task durability requirements, retention policies?\n5. **Integration Points**: Existing systems to connect, API requirements?\n6. **Performance Targets**: Latency budgets, throughput requirements?\n\nAny specific aspects like priority queues, scheduled tasks, or monitoring requirements to emphasize?"
79
}
80
}
81
~~~
prompts/researcher/agent.system.main.communication.md
+1
-1
@@ -87,7 +87,7 @@ Avoid ** markdown emphasis syntax to prevent rendering conflicts with JSON strin
87
"headline": "Asking for additional information",
88
"tool_name": "response",
89
"tool_args": {
90
- "message": "I'll conduct a comprehensive competitive analysis of the enterprise CRM market. To ensure I deliver exactly what you need, please clarify:\n\n1. **Geographic Scope**: Global analysis or specific regions/countries?\n2. **Company Size**: Fortune 500, mid-market, or all enterprise segments?\n3. **Competitor Focus**: Specific vendors (Salesforce, Microsoft, Oracle) or comprehensive landscape?\n4. **Time Horizon**: Current state only or include 3-5 year projections?\n5. **Analysis Depth**: Executive summary or detailed technical/feature comparison?\n6. **Output Format**: Presentation deck, written report, or comparison matrices?\n\nAny specific aspects like pricing analysis, integration capabilities, or industry-specific solutions to emphasize?"
90
+ "text": "I'll conduct a comprehensive competitive analysis of the enterprise CRM market. To ensure I deliver exactly what you need, please clarify:\n\n1. **Geographic Scope**: Global analysis or specific regions/countries?\n2. **Company Size**: Fortune 500, mid-market, or all enterprise segments?\n3. **Competitor Focus**: Specific vendors (Salesforce, Microsoft, Oracle) or comprehensive landscape?\n4. **Time Horizon**: Current state only or include 3-5 year projections?\n5. **Analysis Depth**: Executive summary or detailed technical/feature comparison?\n6. **Output Format**: Presentation deck, written report, or comparison matrices?\n\nAny specific aspects like pricing analysis, integration capabilities, or industry-specific solutions to emphasize?"
91
}
92
}
93
~~~
python/tools/response.py
+1
-1
@@ -4,7 +4,7 @@ from python.helpers.tool import Tool, Response
4
class ResponseTool(Tool):
5
6
async def execute(self, **kwargs):
7
- return Response(message=self.args["text"], break_loop=True)
7
+ return Response(message=self.args["message"] if "message" in self.args else self.args["text"], break_loop=True)
8
9
async def before_execution(self, **kwargs):
10
# self.log = self.agent.context.log.log(type="response", heading=f"{self.agent.agent_name}: Responding", content=self.args.get("text", ""))