Updated description
This commit is contained in:
@@ -93,7 +93,7 @@ class TestChallengeTool:
|
|||||||
response_data = json.loads(result[0].text)
|
response_data = json.loads(result[0].text)
|
||||||
|
|
||||||
# Check response structure
|
# Check response structure
|
||||||
assert response_data["status"] == "challenge_created"
|
assert response_data["status"] == "challenge_accepted"
|
||||||
assert response_data["original_statement"] == "All software bugs are caused by syntax errors"
|
assert response_data["original_statement"] == "All software bugs are caused by syntax errors"
|
||||||
assert "challenge_prompt" in response_data
|
assert "challenge_prompt" in response_data
|
||||||
assert "instructions" in response_data
|
assert "instructions" in response_data
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ class ChallengeTool(SimpleTool):
|
|||||||
|
|
||||||
# Return the wrapped prompt as the response
|
# Return the wrapped prompt as the response
|
||||||
response_data = {
|
response_data = {
|
||||||
"status": "challenge_created",
|
"status": "challenge_accepted",
|
||||||
"original_statement": request.prompt,
|
"original_statement": request.prompt,
|
||||||
"challenge_prompt": wrapped_prompt,
|
"challenge_prompt": wrapped_prompt,
|
||||||
"instructions": (
|
"instructions": (
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ class DebugIssueTool(WorkflowTool):
|
|||||||
|
|
||||||
def get_description(self) -> str:
|
def get_description(self) -> str:
|
||||||
return (
|
return (
|
||||||
"DEBUG & ROOT CAUSE ANALYSIS - Systematic self-investigation followed by expert analysis. "
|
"DEBUG & ROOT CAUSE ANALYSIS - Use this tool to perform any kind of debugging, bug hunting, or issue tracking. "
|
||||||
"This tool guides you through a step-by-step investigation process where you:\n\n"
|
"This tool guides you through a step-by-step investigation process where you:\n\n"
|
||||||
"1. Start with step 1: describe the issue to investigate\n"
|
"1. Start with step 1: describe the issue to investigate\n"
|
||||||
"2. STOP and investigate using appropriate tools\n"
|
"2. STOP and investigate using appropriate tools\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user