Read the Gemini guide tool catalog past the MCP field table #780 (GitHub #779)
Mergedtombeckenhammerged 2 commits into
main from773-gemini-guide-parser-refuses-supported-tools-type-string-on-emerged by tombeckenham View on GitHubtombeckenham pushed824b83f
- @@ -112,4 +112,12 @@112112 ])113113114114 /**115- * A guide's `## Supported tools` table: each backticked Type value is the115+ * The first pipe table in `text`. A later table in the same section is a116+ * different statement (Deep Research types the MCP `type` field as JSON117+ * `string` under `### MCP servers`, #773).118+ */119+function firstMarkdownTable(text: string): Array<Array<string>> {120+ const lines: Array<string> = []121+ for (const line of text.split('\n')) {122+ if (line.startsWith('|')) lines.push(line)123+ else if (lines.length > 0) break
tombeckenham merged thisfbb3551
tombeckenham closed this
Sign in to join this conversation.
coderabbitai[bot](GitHub profile, opens in a new tab) reviewed
Actionable comments posted: 1
0443fe9e-f2c0-481c-8337-3f5b04fb8e9fReviewing files that changed from the base of the PR and between d92f37c8a681541949a673691aef46b008601621 and 824b83f096f3e5159d0762d6bb838ec8dc084811.
src/server/providers/fixtures/gemini-deep-research.md.txtsrc/server/providers/gemini-features.tssrc/server/providers/model-facts.tssrc/server/providers/model-features.test.tsIncluded review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.