Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'ask_user' error #649

Open
wants to merge 52 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
bf5c2ef
Fix - optimized UI dockerfile and removed unnecessary index.html file
rajakumar05032000 Mar 31, 2024
4c05126
Fix - Added npm install
rajakumar05032000 Mar 31, 2024
fc5d901
Merge main branch changes into fix branch
rajakumar05032000 Apr 1, 2024
e74a1d0
Merge branch 'main' into fix/ui-dockerfile
rajakumar05032000 Apr 5, 2024
cfff713
Update prompt.jinja2 with an example for more consistent format reply
obliviousz Apr 14, 2024
8c3a963
Fix agent_state codestyle
scythargon Apr 18, 2024
1f3fae9
Strip backquote from generated filenames
kgott May 17, 2024
75f4889
search_engine.md
shvynu Aug 27, 2024
35e5e43
Fix 'ask_user' error
EdenwareApps Sep 25, 2024
8fb3c06
Update README.md
alexanderbehrens1978 Oct 6, 2024
cd227ab
Update README.md
alexanderbehrens1978 Oct 6, 2024
61b9f8b
devika.py aktualisieren
alexanderbehrens1978 Oct 6, 2024
0f4c51f
Update README.md
alexanderbehrens1978 Oct 8, 2024
712082b
Update README.md
alexanderbehrens1978 Oct 8, 2024
e350363
Update README.md
alexanderbehrens1978 Oct 8, 2024
8f1aadc
Update README.md
alexanderbehrens1978 Oct 8, 2024
822b9a0
Update README.md
alexanderbehrens1978 Oct 8, 2024
d01c5c7
Update README.md
alexanderbehrens1978 Oct 8, 2024
9b48666
Update README.md
alexanderbehrens1978 Oct 8, 2024
d4cfbb5
Update README.md
alexanderbehrens1978 Oct 8, 2024
cf965f3
Update README.md
alexanderbehrens1978 Oct 8, 2024
9855bbd
Update README.md
alexanderbehrens1978 Oct 8, 2024
b274a70
Update README.md
alexanderbehrens1978 Oct 8, 2024
614eb31
Update devika.py
alexanderbehrens1978 Oct 8, 2024
66de63e
Update README.md
alexanderbehrens1978 Oct 8, 2024
12883d4
Update README.md
alexanderbehrens1978 Oct 8, 2024
2106a6f
Update README.md
alexanderbehrens1978 Oct 8, 2024
74da6a2
Update README.md
alexanderbehrens1978 Oct 8, 2024
6a2e14d
Update README.md
alexanderbehrens1978 Oct 8, 2024
594dae6
Update README.md
alexanderbehrens1978 Oct 9, 2024
3023d61
Update README.md
alexanderbehrens1978 Oct 9, 2024
9d5b942
Update README.md
alexanderbehrens1978 Oct 9, 2024
9b7f97d
Update README.md
alexanderbehrens1978 Oct 9, 2024
035c6d0
README.md aktualisieren
alexanderbehrens1978 Oct 9, 2024
4ec321e
Update requirements.txt
alexanderbehrens1978 Oct 9, 2024
50de197
Update README.md
alexanderbehrens1978 Oct 9, 2024
237696c
Update README.md
alexanderbehrens1978 Oct 9, 2024
5a0b6e1
Update README.md
alexanderbehrens1978 Oct 9, 2024
f4fdd76
Update README.md
alexanderbehrens1978 Oct 9, 2024
e8aaeb2
Add files via upload
alexanderbehrens1978 Oct 9, 2024
0095755
Update README.md
alexanderbehrens1978 Oct 9, 2024
f41c4d9
Rename get-ollama-modells.sh to get-ollama-models.sh
alexanderbehrens1978 Oct 9, 2024
abb0c21
Update README.md
alexanderbehrens1978 Oct 9, 2024
e3700c0
Added OpenAI Compatible Support
Nov 28, 2024
8165998
Merge branch 'pr/661'
EdenwareApps Dec 12, 2024
2a54e9c
Merge branch 'pr/651'
EdenwareApps Dec 12, 2024
52f0361
Merge branch 'pr/643'
EdenwareApps Dec 12, 2024
904d385
Merge branch 'pr/567'
EdenwareApps Dec 12, 2024
757275e
Merge branch 'pr/438'
EdenwareApps Dec 12, 2024
a3f24a8
Merge branch 'pr/436'
EdenwareApps Dec 12, 2024
9b8812b
Merge branch 'pr/276'
EdenwareApps Dec 12, 2024
65b46c4
Bugfixes and DuckDuckGo compatibilty
EdenwareApps Dec 12, 2024
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
Prev Previous commit
Next Next commit
Update prompt.jinja2 with an example for more consistent format reply
Changed the prompt by giving an example for more consistent replies as sometimes the plan doesn't show up. Issue: #429
obliviousz authored Apr 14, 2024
commit cfff71391f422defb9add054e2263f34045a1736
18 changes: 16 additions & 2 deletions src/agents/planner/prompt.jinja2
Original file line number Diff line number Diff line change
@@ -22,9 +22,23 @@ Plan:
Summary: <Briefly summarize the plan, highlighting any key considerations, dependencies, or potential challenges.>
```

For example, consider a project about user registration system, then this would be the exact output(not even change of lowercase and uppercase of Project Name or Plan or Summary, etc).
```
Project Name: User Registration System

Your Reply to the Human Prompter: I've broken down the steps to build a basic user registration page with a database that stores user data. Let's get started!

Current Focus: Establish the database to store user information.

Plan:
- [ ] Step 1: Create a database using MySQL or PostgreSQL.
- [ ] Step 2: Design a table with columns for user information, such as name, email, password, and other relevant fields.

Summary: This plan focuses on setting up the database to store user data securely and efficiently. By following these steps, you'll have a solid foundation for your user registration system.
```
Each step should be a clear, concise description of a specific task or action required. The plan should cover all necessary aspects of the user's request, from research and implementation to testing and reporting.

Write the plan with knowing that you have access to the browser and search engine to accomplish the task.
Write the plan knowing that you have access to the browser and search engine to accomplish the task.

After listing the steps, provide a brief summary of the plan, highlighting any key considerations, dependencies, or potential challenges.

@@ -33,4 +47,4 @@ Remember to tailor the plan to the specific task requested by the user, and prov
if the task is simple, and you think you can do it without other assistance, just give one or simple two steps to accomplish the task.
don't need to overcomplicate if it's not necessary.

Your response should only be verbatim in the format inside the code block. Any other response format will be rejected.
Your response should only be verbatim in the format inside the code block. Any other response format will be rejected.