Spaces:
Sleeping
Sleeping
Fix prompt templates to use system_prompt key
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ model = HfApiModel(
|
|
| 24 |
|
| 25 |
# Define prompt templates directly in the code
|
| 26 |
prompt_templates = {
|
| 27 |
-
"
|
| 28 |
You have access to the following tools:
|
| 29 |
{{tools}}
|
| 30 |
|
|
|
|
| 24 |
|
| 25 |
# Define prompt templates directly in the code
|
| 26 |
prompt_templates = {
|
| 27 |
+
"system_prompt": """You are a helpful AI assistant that can use tools to solve problems.
|
| 28 |
You have access to the following tools:
|
| 29 |
{{tools}}
|
| 30 |
|