Open
Conversation
Adds Gemini 3.1 Pro and updates the rate and token limits for all Gemini models to match the latest API specifications.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This updates the evals so that they include the latest Gemini models, cleans up a bunch of comments, and improve the failure detection logic so that if there is a failure in one "oneOf" case for components, it only prints the one component that fails instead of all the others that also fail because they aren't that component. Also updates to the latest genkit, and updates the v0_10 directory evals too. Also, fixed a problem in the catalog where the JSON schema format was specified as
dateTime, when it should have beendate-timeto match the JSON schema spec.Summary of Changes
This pull request focuses on essential maintenance and improvements for the evaluation infrastructure. It updates the underlying AI models to leverage the latest Gemini capabilities, refines the validation process for more accurate error identification, and ensures all dependencies are current. These changes collectively enhance the reliability, security, and diagnostic capabilities of the evaluation system.
Highlights
v0_10andv0_9evaluation environments have been updated to their latest versions, including@genkit-ai/*packages,ajv,prettier,esbuild, and others, ensuring up-to-date and secure development.ajv-formatsfor better schema adherence and features enhanced failure detection for 'oneOf' cases, providing more precise error reporting by focusing on the specific failing component rather than all possible failures.basic_catalog.jsonschema, changing the format for date-time fields fromdateTimeto the correctdate-timeto align with the JSON schema specification.Changelog
googleAImodel configuration.z.objectschema definition.ai.defineFlowcall.z.objectschema definitions.ai.defineFlowcall.mapfunction call.setTimeoutcall.yaml.dumpandfs.writeFileSynccalls.rateLimiter.acquirePermitcall.rateLimiter.recordUsagecall.ai.defineFlowcall.runmethod parameters.process.stderr.writecall.mapfunction call.retryCountparameter.saveSuccessandsaveFailuremethod parameters.model.name.replacecalls.fs.writeFileSynccalls.generateSummaryfunction parameters.reducefunction call.toFixedcall.filterandmapcalls.promptPrefixes.somecall.path.joinandlogger.warncalls.generator.runcall.issues.mapcall.winston.format.printfcalls.winston.format.jsoncall.gemini-3-flashrequestsPerMinute from 50 to 1000.gemini-3-promodel togemini-3.1-pro-previewand name togemini-3.1-pro.gemini-3.1-prorequestsPerMinute from 50 to 25.gemini-2.5-flash-litetokensPerMinute from 1200000 to 4000000.state.usageRecords.filtercall.acquirePermitparameters.oldestRequest.timestampcalculation.record.timestampcalculation.ajv-formats.addFormatsto the AJV instance.dateTimetodate-timefor date-time properties.googleAImodel configuration.z.objectschema definition.ai.defineFlowcall.z.objectschema definitions.ai.defineFlowcall.mapfunction call.setTimeoutcall.yaml.dumpandfs.writeFileSynccalls.rateLimiter.acquirePermitcall.rateLimiter.recordUsagecall.ai.defineFlowcall.runmethod parameters.process.stderr.writecall.mapfunction call.retryCountparameter.saveSuccessandsaveFailuremethod parameters.model.name.replacecalls.fs.writeFileSynccalls.generateSummaryfunction parameters.reducefunction call.toFixedcall.filterandmapcalls.promptPrefixes.somecall.path.joinandlogger.warncalls.generator.runcall.issues.mapcall.winston.format.printfcalls.winston.format.jsoncall.gemini-3-flashrequestsPerMinute from 50 to 1000.gemini-3-promodel togemini-3.1-pro-previewand name togemini-3.1-pro.gemini-3.1-prorequestsPerMinute from 50 to 25.gemini-2.5-flash-litetokensPerMinute from 1200000 to 4000000.state.usageRecords.filtercall.acquirePermitparameters.oldestRequest.timestampcalculation.record.timestampcalculation.ajv-formats.addFormatsto the AJV instance.dateTimetodate-timefor date-time properties.