Skip to content

Conversation

@necaris
Copy link
Contributor

@necaris necaris commented Jul 9, 2025

Further refine the tool call parameters to work around the Google APIs' limited JSON schema support, using the Gemini CLI function as inspiration along with empirical testing with Gemini and the GitHub MCP server.

@necaris necaris force-pushed the work-around-gemini-api-tool-call-quirks branch 5 times, most recently from e54fa63 to 3a3edf0 Compare July 10, 2025 02:31
@necaris necaris marked this pull request as ready for review July 10, 2025 02:31
@necaris necaris changed the title Work around Gemini API tool call quirks feat: Work around Gemini API tool call quirks Jul 10, 2025
@michaelneale
Copy link
Collaborator

this looks good - but who has gemini access to validate - would be good to get a second check but tools and gemini is a known problem, so thanks @necaris

@necaris necaris force-pushed the work-around-gemini-api-tool-call-quirks branch 3 times, most recently from f0dc741 to d191fda Compare July 15, 2025 15:14
@DOsinga DOsinga self-assigned this Jul 16, 2025
@necaris necaris force-pushed the work-around-gemini-api-tool-call-quirks branch 2 times, most recently from 66afea6 to bba842e Compare July 17, 2025 02:16
@DOsinga
Copy link
Collaborator

DOsinga commented Jul 18, 2025

can you check on the linter failure so we can get this in?

@necaris necaris force-pushed the work-around-gemini-api-tool-call-quirks branch from bba842e to 8428b98 Compare July 18, 2025 12:39
@necaris
Copy link
Contributor Author

necaris commented Jul 18, 2025

Fixed and rebased, thanks @DOsinga for the nudge!

@DOsinga
Copy link
Collaborator

DOsinga commented Jul 19, 2025

ugh, I am sorry, fails on fmt

@necaris necaris force-pushed the work-around-gemini-api-tool-call-quirks branch from 8428b98 to 513c9c9 Compare July 21, 2025 11:35
@necaris
Copy link
Contributor Author

necaris commented Jul 21, 2025

Sorry, was out of town over the weekend, looks like it's green now after rebase and fix!

@DOsinga DOsinga merged commit fb58c91 into block:main Jul 21, 2025
7 checks passed
@necaris necaris deleted the work-around-gemini-api-tool-call-quirks branch July 21, 2025 17:21
lifeizhou-ap added a commit that referenced this pull request Jul 22, 2025
* main: (32 commits)
  fix: use sequential when sub recipe task is 1. (#3573)
  fix: track message id to keep like with like (#3572)
  Replace mcp_core::prompt with rmcp::model types (#3561)
  feat (ui): close recipe modals with esc key (#3568)
  feat: recipes can retry with success criteria (#3474)
  Env var to set Ollama request timeout (#3516)
  Updating docs to match new UI (#3552)
  Improve Claude Code provider error message for missing CLI (#3363)
  feat: Work around Gemini API tool call quirks (#3328)
  feat(ui): Source CashSans-Bold and improve overall text rendering (#3091)
  refactor: Use openapi for recipe endpoint types and in frontend (#3548)
  Fix Google Analytics error for local dev (#3544)
  Extension Library Improvements (#3541)
  fix(ui): enable selection of zero-config providers in desktop GUI (#3378)
  refactor: Renames recipe route to recipes to be consistent (#3540)
  Blog: Orchestrating 6 Subagents to Build a Collaborative API Playground (#3528)
  Catch json errors a little better (#3437)
  Rust debug (#3510)
  refactor: Centralise deeplink encode and decode into server (#3489)
  feat: deprecate jetbrains extension in favor of public one (#2589)
  ...
michaelneale added a commit that referenced this pull request Jul 22, 2025
* main:
  fix: use sequential when sub recipe task is 1. (#3573)
  fix: track message id to keep like with like (#3572)
  Replace mcp_core::prompt with rmcp::model types (#3561)
  feat (ui): close recipe modals with esc key (#3568)
  feat: recipes can retry with success criteria (#3474)
  Env var to set Ollama request timeout (#3516)
  Updating docs to match new UI (#3552)
  Improve Claude Code provider error message for missing CLI (#3363)
  feat: Work around Gemini API tool call quirks (#3328)
  feat(ui): Source CashSans-Bold and improve overall text rendering (#3091)
  refactor: Use openapi for recipe endpoint types and in frontend (#3548)
  Fix Google Analytics error for local dev (#3544)
atarantino pushed a commit to atarantino/goose that referenced this pull request Aug 5, 2025
Signed-off-by: Rami Chowdhury <[email protected]>
Signed-off-by: Adam Tarantino <[email protected]>
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.

3 participants