David Chu
commited on
feat: reduce thinking budget to lower response time
Browse files- app/agent.py +2 -1
app/agent.py
CHANGED
|
@@ -73,7 +73,8 @@ def create_response(ctx: RunContext, output: list[Statement]) -> models.Statemen
|
|
| 73 |
|
| 74 |
model = GoogleModel("gemini-2.5-flash-preview-05-20")
|
| 75 |
settings = GoogleModelSettings(
|
| 76 |
-
|
|
|
|
| 77 |
)
|
| 78 |
agent = Agent(
|
| 79 |
model=model,
|
|
|
|
| 73 |
|
| 74 |
model = GoogleModel("gemini-2.5-flash-preview-05-20")
|
| 75 |
settings = GoogleModelSettings(
|
| 76 |
+
# temperature=0.1,
|
| 77 |
+
google_thinking_config={"thinking_budget": 1024, "include_thoughts": True},
|
| 78 |
)
|
| 79 |
agent = Agent(
|
| 80 |
model=model,
|