Skip to content

Commit 2ca5bc1

Browse files
authored
Merge branch 'main' into feat/remember-me-login
2 parents 15a46df + 83afbc2 commit 2ca5bc1

1 file changed

Lines changed: 40 additions & 30 deletions

File tree

backend/app/agent/prompt.py

Lines changed: 40 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@
3030
Your integrated toolkits enable you to:
3131
3232
1. Skills System: You have access to a library of specialized skills that
33-
provide expert guidance for specific tasks. When a skill is referenced with
34-
double curly braces (e.g., {{pdf}} or {{data-analyzer}}), you should use
35-
`list_skills` to discover available skills and `load_skill` to retrieve the
36-
skill's full content. Skills contain tested code examples, best practices,
37-
and detailed instructions that you MUST follow as your PRIMARY reference when
38-
working on tasks that mention them.
33+
provide expert guidance for specific tasks. When a task references a skill
34+
with double curly braces (e.g., {{pdf}} or {{data-analyzer}}), or when you
35+
determine that an available skill is relevant to the task, you MUST use
36+
`load_skill` to retrieve the skill's full content BEFORE taking any other
37+
action on the task. Skills contain requirements, tested code examples, and
38+
best practices that you MUST follow as your PRIMARY reference. Do not begin
39+
executing the task until you have loaded and understood the relevant skill
40+
instructions.
3941
4042
2. WhatsApp Business Management (WhatsAppToolkit):
4143
- Send text and template messages to customers via the WhatsApp Business
@@ -151,12 +153,14 @@
151153
<capabilities>
152154
Your capabilities include:
153155
- **Skills System**: You have access to a library of specialized skills that
154-
provide expert guidance for specific tasks. When a skill is referenced with
155-
double curly braces (e.g., {{pdf}} or {{data-analyzer}}), you should use
156-
`list_skills` to discover available skills and `load_skill` to retrieve the
157-
skill's full content. Skills contain tested code examples, best practices,
158-
and detailed instructions that you MUST follow as your PRIMARY reference when
159-
working on tasks that mention them.
156+
provide expert guidance for specific tasks. When a task references a skill
157+
with double curly braces (e.g., {{pdf}} or {{data-analyzer}}), or when you
158+
determine that an available skill is relevant to the task, you MUST use
159+
`load_skill` to retrieve the skill's full content BEFORE taking any other
160+
action on the task. Skills contain requirements, tested code examples, and
161+
best practices that you MUST follow as your PRIMARY reference. Do not begin
162+
executing the task until you have loaded and understood the relevant skill
163+
instructions.
160164
- Video & Audio Analysis:
161165
- Download videos from URLs for analysis.
162166
- Transcribe speech from audio files to text with high accuracy
@@ -280,12 +284,14 @@
280284
Your capabilities include:
281285
- You can use ScreenshotToolkit to read image with given path.
282286
- **Skills System**: You have access to a library of specialized skills that
283-
provide expert guidance for specific tasks. When a skill is referenced with
284-
double curly braces (e.g., {{pdf}} or {{data-analyzer}}), you should use
285-
`list_skills` to discover available skills and `load_skill` to retrieve the
286-
skill's full content. Skills contain tested code examples, best practices,
287-
and detailed instructions that you MUST follow as your PRIMARY reference when
288-
working on tasks that mention them.
287+
provide expert guidance for specific tasks. When a task references a skill
288+
with double curly braces (e.g., {{pdf}} or {{data-analyzer}}), or when you
289+
determine that an available skill is relevant to the task, you MUST use
290+
`load_skill` to retrieve the skill's full content BEFORE taking any other
291+
action on the task. Skills contain requirements, tested code examples, and
292+
best practices that you MUST follow as your PRIMARY reference. Do not begin
293+
executing the task until you have loaded and understood the relevant skill
294+
instructions.
289295
- Document Reading:
290296
- Read and understand the content of various file formats including
291297
- PDF (.pdf)
@@ -438,12 +444,14 @@
438444
Your capabilities are extensive and powerful:
439445
- You can use ScreenshotToolkit to read image with given path.
440446
- **Skills System**: You have access to a library of specialized skills that
441-
provide expert guidance for specific tasks. When a skill is referenced with
442-
double curly braces (e.g., {{pdf}} or {{data-analyzer}}), you should use
443-
`list_skills` to discover available skills and `load_skill` to retrieve the
444-
skill's full content. Skills contain tested code examples, best practices,
445-
and detailed instructions that you MUST follow as your PRIMARY reference when
446-
working on tasks that mention them.
447+
provide expert guidance for specific tasks. When a task references a skill
448+
with double curly braces (e.g., {{pdf}} or {{data-analyzer}}), or when you
449+
determine that an available skill is relevant to the task, you MUST use
450+
`load_skill` to retrieve the skill's full content BEFORE taking any other
451+
action on the task. Skills contain requirements, tested code examples, and
452+
best practices that you MUST follow as your PRIMARY reference. Do not begin
453+
executing the task until you have loaded and understood the relevant skill
454+
instructions.
447455
- **Unrestricted Code Execution**: You can write and execute code in any
448456
language to solve a task. You MUST first save your code to a file (e.g.,
449457
`script.py`) and then run it from the terminal (e.g.,
@@ -614,12 +622,14 @@
614622
Your capabilities include:
615623
- You can use ScreenshotToolkit to read image with given path.
616624
- **Skills System**: You have access to a library of specialized skills that
617-
provide expert guidance for specific tasks. When a skill is referenced with
618-
double curly braces (e.g., {{pdf}} or {{data-analyzer}}), you should use
619-
`list_skills` to discover available skills and `load_skill` to retrieve the
620-
skill's full content. Skills contain tested code examples, best practices,
621-
and detailed instructions that you MUST follow as your PRIMARY reference when
622-
working on tasks that mention them.
625+
provide expert guidance for specific tasks. When a task references a skill
626+
with double curly braces (e.g., {{pdf}} or {{data-analyzer}}), or when you
627+
determine that an available skill is relevant to the task, you MUST use
628+
`load_skill` to retrieve the skill's full content BEFORE taking any other
629+
action on the task. Skills contain requirements, tested code examples, and
630+
best practices that you MUST follow as your PRIMARY reference. Do not begin
631+
executing the task until you have loaded and understood the relevant skill
632+
instructions.
623633
- Search and get information from the web using the search tools.
624634
- Use the rich browser related toolset to investigate websites.
625635
- Use the terminal tools to perform local operations. **IMPORTANT:** Before the

0 commit comments

Comments
 (0)