Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
docs: fix Gemini Python example to use composio_gemini with google-genai (#3839)
## Summary The Gemini Python example paired composio_google (which wraps tools as VertexAI FunctionDeclaration objects) with google-genai client. GenerateContentConfig silently coerces those VertexAI objects into an empty genai Tool ({}), so the documented flow sends requests with no tool schemas at all - the model never sees or calls any Composio tool, with no error surfaced anywhere. Fixes #3836 ## Changes - docs/content/docs/providers/google.mdx (Gemini tab, Python only): - install line: composio_google → composio_gemini - example: GeminiProvider + Automatic Function Calling; the manual while response.function_calls: loop is gone because the google-genai SDK executes the wrapped callables itself - intro paragraph updated to describe the Python (AFC) and TypeScript (manual loop) flows separately The TypeScript tab and the Google ADK section are untouched; both already target the right SDKs. The new Python example matches the existing quickstart in python/providers/gemini/README.md. ## Type of change - [ ] Bug fix - [ ] New feature - [ ] Refactor/Chore - [x] Documentation - [ ] Breaking change ## How Has This Been Tested? - Offline repro of the bug (issue #3836): with composio_google, config.tools[0].model_dump(exclude_none=True) is {} and genai's _transformers.t_tools raises AttributeError on the vertexai type. - Offline verification of the fix: the exact construction path of the new example (GeminiProvider().wrap_tools → GenerateContentConfig → chats.create → t_tools) serializes a complete FunctionDeclaration (name, description, parameters) with composio==0.17.1, google-genai==2.11.0, Python 3.12. - Docs: bun run build and bun run lint:links from docs/: green. ## Screenshots (if applicable) ## Checklist - [x] I have read the Code of Conduct, and this PR adheres to it - [x] I ran linters/tests locally, and they passed - [x] I updated documentation as needed - [x] I added tests or explain why not applicable - [x] I added a changeset if this change affects published packages ## Additional context No changeset: docs-only change, no published package affected. Regression coverage: `docs/tests/static/content.test.ts` now guards the documented `composio_gemini` + `google-genai` pairing; the example's construction path was also exercised offline as described above. The underlying provider split (composio_google targeting the upstream-deprecated vertexai generative_models SDK vs composio_gemini targeting google-genai) is flagged in #3836 as an open question for maintainers; this PR is the docs-only fix. --------- Co-authored-by: jkomyno <alberto@composio.dev>