devika
devika copied to clipboard
[Bug] Incomplete Prompt leading to bugs
Describe the bug
The written prompt in src/agents/decision/prompt.jinja2 is incomplete.
[
{
"function": "git_clone",
"args": {
"url": "https://github.com/username/repo"
},
"reply": "<Inform the user what you're doing here in a human-like response>"
},
{
"function": "generate_pdf_document",
"args": {
"user_prompt": "I want to create a report on the project"
},
"reply": "<Inform the user what you're doing here in a human-like response>"
<------ Incomplete Response
]
Expected
[
{
"function": "git_clone",
"args": {
"url": "https://github.com/username/repo"
},
"reply": "<Inform the user what you're doing here in a human-like response>"
},
{
"function": "generate_pdf_document",
"args": {
"user_prompt": "I want to create a report on the project"
},
"reply": "<Inform the user what you're doing here in a human-like response>"
},
{
"function": "browser_interaction",
"args": {
"user_prompt": "<Write the user's prompt but even more verbose and detailed>"
},
"reply": "<Inform the user what you're doing here in a human-like response>"
},
{
"function": "coding_project",
"args": {
"user_prompt": "<Write the user's prompt but even more verbose and detailed>"
},
"reply": "<Inform the user what you're doing here in a human-like response>"
}
]
It may possibly give invalid response resulting in inefficiency of the decision agent.
Agent Décision is not used anyway