Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,6 @@ Use this format when required information is missing:
```json
{
"question": "Which directory would you like to explore?",
"explanation": "I need this information to proceed"
}
```

Expand All @@ -292,7 +291,6 @@ Use this format for the final response to the user:
```json
{
"answer": "Here are the files in your directory: file1.txt, file2.go, README.md",
"explanation": "Showing directory contents"
}
```

Expand Down
6 changes: 2 additions & 4 deletions agent/pkg/llm/prompts.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@ Use this format when you need to execute a tool (action/function):
### Question Format
Use this format when you lack required information to proceed:
{
"question": "The specific information or data that is missing?",
"explanation": "Why this information is required to complete the user's request."
"question": "The specific information or data that is missing? Include context and reasoning for why this is needed."
}

### Final Answer Format
Use this format for your complete, final response to the user:
{
"answer": "Your complete, formatted response to the user here.",
"explanation": "Relevant context, reasoning, or command results supporting the answer."
"answer": "Your complete response. Include any necessary context, reasoning, or command results directly here."
}


Expand Down