Update app.py
Browse filesSystem prompt corrected
app.py
CHANGED
|
@@ -44,7 +44,8 @@ class BasicAgent:
|
|
| 44 |
await asyncio.sleep(1)
|
| 45 |
response = self.client.models.generate_content(
|
| 46 |
model='gemini-2.0-flash',
|
| 47 |
-
contents=f'Answer the following question in the format as requested.
|
|
|
|
| 48 |
config=types.GenerateContentConfig(
|
| 49 |
tools=[types.Tool(
|
| 50 |
google_search=types.GoogleSearch()
|
|
|
|
| 44 |
await asyncio.sleep(1)
|
| 45 |
response = self.client.models.generate_content(
|
| 46 |
model='gemini-2.0-flash',
|
| 47 |
+
contents=f'''Answer the following question in the format as requested. If the format not specified, then provide a single word/number/name.
|
| 48 |
+
Do not include how you answered the question. {question}''',
|
| 49 |
config=types.GenerateContentConfig(
|
| 50 |
tools=[types.Tool(
|
| 51 |
google_search=types.GoogleSearch()
|