You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR: # Code Review by Gemini
An unexpected error occurred in Client call: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'models/gemini-1.5-flash is not found for API version v1beta, or is not supported for generateContent. Call ModelService.ListModels to see the list of available models and their supported methods.', 'status': 'NOT_FOUND'}}
ERROR: # Code Review by Gemini
An unexpected error occurred in Client call: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'This model models/gemini-2.5-flash is no longer available to new users. Please update your code to use a newer model for the latest features and improvements.', 'status': 'NOT_FOUND'}}
ERROR: # Code Review by Gemini
An unexpected error occurred in Client call: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'This model models/gemini-2.5-flash is no longer available to new users. Please update your code to use a newer model for the latest features and improvements.', 'status': 'NOT_FOUND'}}
Issue:gemini-3.6-flash is not a valid Gemini model version. This will cause the action to fail when making API calls. Fix: Update the model parameter to a valid version such as gemini-2.0-flash or gemini-1.5-flash.
types: [labeled] only triggers when a label is newly added to a Pull Request. If additional commits are pushed to the PR while the gemini-review label is already present, the workflow will not automatically re-trigger.
If you want the workflow to run on newly pushed commits when the label exists, consider adding synchronize to types and adjusting the condition:
<<<<on:
pull_request:
types: [labeled] # Tells GitHub to only run this when a label is addedjobs:
review:
if: github.event.label.name == 'gemini-review' # Ensures it only runs for our specific label====on:
pull_request:
types: [labeled, synchronize]jobs:
review:
if: contains(github.event.pull_request.labels.*.name, 'gemini-review')>>>>
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
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.
No description provided.