Skip to content

docs: draft docs#215

Draft
pavelgj wants to merge 12 commits intomainfrom
pj/genkit-dart
Draft

docs: draft docs#215
pavelgj wants to merge 12 commits intomainfrom
pj/genkit-dart

Conversation

@pavelgj
Copy link
Member

@pavelgj pavelgj commented Feb 1, 2026

No description provided.

@gemini-code-assist
Copy link

Summary of Changes

Hello @pavelgj, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the Genkit documentation by introducing comprehensive support for the Dart programming language. It integrates Dart into the documentation's language switching system and provides detailed guides and code examples for using Genkit's core features, integrations, and deployment options with Dart. The changes aim to make Genkit accessible and well-documented for Dart developers, fostering a broader adoption of the framework within the Dart ecosystem.

Highlights

  • Comprehensive Dart Language Support: This pull request introduces extensive documentation for Genkit's Dart SDK, covering core concepts, integrations, and deployment strategies. This significantly expands Genkit's language ecosystem.
  • Updated Documentation Structure and UI: The documentation site's language selector and underlying logic have been updated to seamlessly integrate Dart, allowing users to switch between JavaScript, Go, Python, and Dart examples across various topics.
  • New Shelf Framework Integration Guide: A dedicated guide for integrating Genkit with Dart's Shelf web framework has been added, detailing setup, routing, authentication, context handling, and deployment to platforms like Cloud Run.
  • Detailed Dart Code Examples: Numerous documentation pages, including 'Agentic Patterns', 'Flows', 'Models', 'Tool Calling', and 'Interrupts', now feature comprehensive Dart code examples to illustrate Genkit's functionality in the new language.
  • Deployment and Observability for Dart: New documentation outlines how to deploy Genkit Dart flows to various platforms (including Cloud Run) and details local observability features like tracing with OpenTelemetry.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces extensive documentation for Dart, including new pages and updates to existing ones to add Dart examples and language selection. The changes are comprehensive, covering everything from getting started to advanced agentic patterns and plugin authoring. I've identified a few issues, mainly related to copy-paste errors in code examples and some broken markdown due to missing closing tags. Once these are addressed, this will be a great addition to the documentation.

@pavelgj
Copy link
Member Author

pavelgj commented Feb 1, 2026

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces extensive documentation and code examples for Dart support in Genkit. The changes are comprehensive, adding Dart to language selectors, providing detailed guides for flows, deployment, and integrations. Overall, the additions are well-structured. I've identified a few issues, including a regression in the language mapping, a missing closing tag that could break a page, and some inconsistencies in the documentation.

@@ -949,7 +1407,7 @@ prompt: 'Genkit is an **amazing** Gen AI *library*!';

TTS models automatically detect the input language. Supported languages include `en-US`, `fr-FR`, `de-DE`, `es-US`, `ja-JP`, `ko-KR`, `pt-BR`, `zh-CN`, and [more](https://ai.google.dev/gemini-api/docs/speech-generation#languages).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The closing </LanguageContent> tag for the JavaScript block about TTS seems to have been accidentally removed. This will likely break the page rendering by leaving a tag unclosed. Please restore it.

</LanguageContent>


<div style="display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1rem 0 1rem 0;">
<LanguageSelector />
<LanguageSelector supportedLanguages="js go python" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This file was updated to adjust the supported languages in the language selector, but unlike other integration documents, a "feature unavailable" note for Dart was not added. For consistency across the documentation, please add a note indicating that this feature is not yet available for Dart, similar to how it's done in other integration pages.

…hentication, available models, expanded examples for thinking and multimodal input, and clarified unsupported features.
… thinking level, adjusting Gemini 2.5 thinking budget, updating media URLs and content types, and simplifying Google Search configuration.
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