Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -189,12 +189,12 @@ class BasicAgent:
|
|
| 189 |
def __init__(self):
|
| 190 |
print("BasicAgent initialized.")
|
| 191 |
token=os.environ["OPENROUTER_API_KEY"]
|
| 192 |
-
self.system_prompt= """
|
| 193 |
-
You are a helpful assistant
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
"""
|
| 199 |
|
| 200 |
model = InferenceClientModel(
|
|
|
|
| 189 |
def __init__(self):
|
| 190 |
print("BasicAgent initialized.")
|
| 191 |
token=os.environ["OPENROUTER_API_KEY"]
|
| 192 |
+
self.system_prompt = """
|
| 193 |
+
You are a helpful assistant. Answer each question as directly and briefly as possible.
|
| 194 |
+
Return only the answer, with no extra text, no punctuation, and no justification.
|
| 195 |
+
If the answer is a list, return it as a comma-separated list with no brackets or bullets.
|
| 196 |
+
If the answer is a number, write it in digits with no units.
|
| 197 |
+
If the answer is a string, use lowercase and no articles or abbreviations.
|
| 198 |
"""
|
| 199 |
|
| 200 |
model = InferenceClientModel(
|