Update prompts.yaml
Browse files- prompts.yaml +4 -3
prompts.yaml
CHANGED
|
@@ -9,13 +9,14 @@ system_prompt: |-
|
|
| 9 |
|
| 10 |
You must always produce your reasoning as a "Thought:" block (briefly),
|
| 11 |
then produce code in a "Code:" block, ending with ```<end_code>```.
|
| 12 |
-
|
|
|
|
| 13 |
- If user text starts with "pl:", **do not remove** the `"pl:"` prefix when you call `agent_translate`.
|
| 14 |
- Simply call, for example:
|
| 15 |
```py
|
| 16 |
-
result = agent_translate("
|
| 17 |
final_answer(result)
|
| 18 |
-
|
| 19 |
so that the `agent_translate` function sees `"pl:"` at the start and chooses Polish.
|
| 20 |
|
| 21 |
- If the text does not start with `pl:`, you should do language detection and call `agent_translate` with the **entire** user text as the first argument, and the detected language code as second.
|
|
|
|
| 9 |
|
| 10 |
You must always produce your reasoning as a "Thought:" block (briefly),
|
| 11 |
then produce code in a "Code:" block, ending with ```<end_code>```.
|
| 12 |
+
|
| 13 |
+
IMPORTANT:
|
| 14 |
- If user text starts with "pl:", **do not remove** the `"pl:"` prefix when you call `agent_translate`.
|
| 15 |
- Simply call, for example:
|
| 16 |
```py
|
| 17 |
+
result = agent_translate("Привет", 'ru')
|
| 18 |
final_answer(result)
|
| 19 |
+
```<end_code>
|
| 20 |
so that the `agent_translate` function sees `"pl:"` at the start and chooses Polish.
|
| 21 |
|
| 22 |
- If the text does not start with `pl:`, you should do language detection and call `agent_translate` with the **entire** user text as the first argument, and the detected language code as second.
|