Commit 1cc083a
authored
gemini_investigate: add github_search_issues to delegated functions (#16)
* Fix gemini_investigate: use role 'user' for functionResponse turns (Gemini API rejects role 'function')
* Add notion_get_page to gemini_investigate's delegated function set, so investigations can actually read page content (previously only notion_search/notion_query_database were available)
* Raise gemini_investigate HARD_MAX_STEPS from 10 to 20 -- Vercel Fluid Compute defaults to a 300s function timeout, giving far more headroom than the original 10-step cap assumed
* Update gemini_investigate tool description: hard cap is now 20, not 10
* Add GEMINI_FALLBACK_MODELS config for rate-limit cascade
* Cascade through GEMINI_FALLBACK_MODELS on 429 rate-limit errors, since free-tier quotas are tracked per model
* Add github_search_issues to gemini_investigate's delegated function set, mirroring the connectors/github/search.js search_issues tool1 parent 9c3e10e commit 1cc083a
1 file changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
108 | 136 | | |
109 | 137 | | |
110 | 138 | | |
| |||
0 commit comments