Update app.py
Browse files
app.py
CHANGED
@@ -21,11 +21,10 @@ class BasicAgent:
|
|
21 |
api_key=os.getenv("GOOGLE_API_KEY"),
|
22 |
streaming=False # Set to True if you want streaming output
|
23 |
)
|
24 |
-
self.instructions =
|
25 |
-
("You are a helpful assistant. For every question, reply with only the answer—no explanation, "
|
26 |
"no units, and no extra words. If the answer is a number, just return the number. "
|
27 |
"If it is a word or phrase, return only that. If it is a list, return a comma-separated list with no extra words. "
|
28 |
-
"Do not include any prefix, suffix, or explanation."
|
29 |
|
30 |
|
31 |
print("BasicAgent initialized.")
|
|
|
21 |
api_key=os.getenv("GOOGLE_API_KEY"),
|
22 |
streaming=False # Set to True if you want streaming output
|
23 |
)
|
24 |
+
self.instructions = """You are a helpful assistant. For every question, reply with only the answer—no explanation, "
|
|
|
25 |
"no units, and no extra words. If the answer is a number, just return the number. "
|
26 |
"If it is a word or phrase, return only that. If it is a list, return a comma-separated list with no extra words. "
|
27 |
+
"Do not include any prefix, suffix, or explanation."""
|
28 |
|
29 |
|
30 |
print("BasicAgent initialized.")
|