Skip to content

gemini_investigate: raise hard step cap from 10 to 20 - #14

Merged
allocsys merged 4 commits into
mainfrom
feature/gemini-connector
Jul 25, 2026
Merged

gemini_investigate: raise hard step cap from 10 to 20#14
allocsys merged 4 commits into
mainfrom
feature/gemini-connector

Conversation

@allocsys

Copy link
Copy Markdown
Owner

Raises gemini_investigate's HARD_MAX_STEPS from 10 to 20.

The original cap was conservative due to a stated concern about Vercel's serverless function duration limit. As of April 2025, Vercel enables Fluid Compute by default for all new projects, which raises the default function timeout to 300 seconds — this project (connected Jul 19, 2026) is almost certainly already on that default. At an estimated 5–10s per investigation step, 20 steps comfortably fits within that budget with margin to spare.

Also updates the max_steps param description in tools.js to reflect the new cap.

allocsys added 4 commits July 25, 2026 19:18
…o investigations can actually read page content (previously only notion_search/notion_query_database were available)
… Compute defaults to a 300s function timeout, giving far more headroom than the original 10-step cap assumed
@allocsys
allocsys merged commit 9d65eba into main Jul 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant