Skip to content

fix(ai): update Google Generative Language API endpoint to v1beta#856

Open
Divyansh2992 wants to merge 1 commit intoaccordproject:mainfrom
Divyansh2992:fix/google-ai-endpoint-fix
Open

fix(ai): update Google Generative Language API endpoint to v1beta#856
Divyansh2992 wants to merge 1 commit intoaccordproject:mainfrom
Divyansh2992:fix/google-ai-endpoint-fix

Conversation

@Divyansh2992
Copy link
Copy Markdown

Closes #854

Changes

  • Updated Google Generative Language API fetch URL from deprecated v1beta2 to current v1beta in [AIConfigPopup.tsx]

Flags

  • Single-line change, no logic affected
  • Only impacts Google provider model-list fetching; all other providers unchanged

Screenshots or Video

Before: Model dropdown shows "No models available" for Google provider
image

After: Model dropdown correctly lists available Gemini models
image

Related Issues

Author Checklist

  • Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
  • Vital features and changes captured in unit and/or integration tests
  • Commits messages follow AP format
  • Extend the documentation, if necessary
  • Merging to main from fix/google-ai-endpoint

@Divyansh2992 Divyansh2992 requested a review from a team as a code owner March 24, 2026 17:59
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 24, 2026

Deploy Preview for ap-template-playground ready!

Name Link
🔨 Latest commit 3d6f7f1
🔍 Latest deploy log https://app.netlify.com/projects/ap-template-playground/deploys/69c39a30e95b0c0007077206
😎 Deploy Preview https://deploy-preview-856--ap-template-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Divyansh2992 Divyansh2992 force-pushed the fix/google-ai-endpoint-fix branch 3 times, most recently from fd171de to 955402e Compare March 24, 2026 18:12
Copy link
Copy Markdown
Member

@sanketshevkar sanketshevkar left a comment

Choose a reason for hiding this comment

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

Thanks for this.
Can you please review contributions guide and update the PR title conforming to https://www.conventionalcommits.org/en/v1.0.0/

Also please avoid spamming discord channels for PR reviews.

Copy link
Copy Markdown
Member

@sanketshevkar sanketshevkar left a comment

Choose a reason for hiding this comment

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

Please

Comment thread src/components/AIConfigPopup.tsx Outdated
Signed-off-by: Divyansh2992 <149261675+Divyansh2992@users.noreply.github.com>
@Divyansh2992 Divyansh2992 force-pushed the fix/google-ai-endpoint-fix branch from 955402e to 3d6f7f1 Compare March 25, 2026 08:17
@Divyansh2992 Divyansh2992 changed the title Fix/google ai endpoint fix fix(ai): update Google Generative Language API endpoint to v1beta Mar 25, 2026
@Divyansh2992
Copy link
Copy Markdown
Author

Thank you , as per your request , I have updated the PR title and formatting too, Also sorry for spamming , from next time , it won't happen.

@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the Stale label Apr 10, 2026
@Divyansh2992
Copy link
Copy Markdown
Author

@sanketshevkar Hi, just a gentle reminder to review this PR. It has been pending for a while and is now marked stale. Would appreciate your feedback. Thanks!

@github-actions github-actions Bot removed the Stale label Apr 11, 2026
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the Stale label Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Google AI provider: model list never loads due to deprecated v1beta2 API endpoint

2 participants