Update agent.py
Browse files
agent.py
CHANGED
|
@@ -23,7 +23,8 @@ configure(api_key=os.getenv("GOOGLE_API_KEY"))
|
|
| 23 |
#logger = logging.getLogger(__name__)
|
| 24 |
|
| 25 |
# --- Model Configuration ---
|
| 26 |
-
GEMINI_MODEL_NAME = "gemini/gemini-2.0-flash-lite"
|
|
|
|
| 27 |
OPENAI_MODEL_NAME = "openai/gpt-4o"
|
| 28 |
GROQ_MODEL_NAME = "groq/llama3-70b-8192"
|
| 29 |
DEEPSEEK_MODEL_NAME = "deepseek/deepseek-chat"
|
|
@@ -209,6 +210,7 @@ class BasicAgent:
|
|
| 209 |
Your behavior must be governed by these rules:
|
| 210 |
1. **Format**:
|
| 211 |
- limit the token used (within 65536 tokens).
|
|
|
|
| 212 |
- Output ONLY the final answer.
|
| 213 |
- Wrap the answer in `[ANSWER]` with no whitespace or text outside the brackets.
|
| 214 |
- No follow-ups, justifications, or clarifications.
|
|
|
|
| 23 |
#logger = logging.getLogger(__name__)
|
| 24 |
|
| 25 |
# --- Model Configuration ---
|
| 26 |
+
# GEMINI_MODEL_NAME = "gemini/gemini-2.0-flash-lite"
|
| 27 |
+
GEMINI_MODEL_NAME = "gemini/gemini-2.5-flash"
|
| 28 |
OPENAI_MODEL_NAME = "openai/gpt-4o"
|
| 29 |
GROQ_MODEL_NAME = "groq/llama3-70b-8192"
|
| 30 |
DEEPSEEK_MODEL_NAME = "deepseek/deepseek-chat"
|
|
|
|
| 210 |
Your behavior must be governed by these rules:
|
| 211 |
1. **Format**:
|
| 212 |
- limit the token used (within 65536 tokens).
|
| 213 |
+
- Always give final answer instead of nothing, based on the information you have.
|
| 214 |
- Output ONLY the final answer.
|
| 215 |
- Wrap the answer in `[ANSWER]` with no whitespace or text outside the brackets.
|
| 216 |
- No follow-ups, justifications, or clarifications.
|