Skip to content

hotfix: Geminiのモデルを変更#86

Merged
miyakoshi-3854 merged 1 commit intomainfrom
hotfix/changes-gemini-model
Oct 6, 2025
Merged

hotfix: Geminiのモデルを変更#86
miyakoshi-3854 merged 1 commit intomainfrom
hotfix/changes-gemini-model

Conversation

@nkoji21
Copy link
Member

@nkoji21 nkoji21 commented Sep 28, 2025

やったこと

Geminiのモデルを 1.5-flash -> 2.0-flash に変更した。

なぜか

1.5-flash のモデルが既にサービス終わってそう。
geminiAPIを叩いた時に、404が返ってきてて、調べたらモデルがないとのこと。

ソース:
https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/1-5-flash?hl=ja

@nkoji21 nkoji21 self-assigned this Sep 28, 2025
Copilot AI review requested due to automatic review settings September 28, 2025 16:48
@nkoji21 nkoji21 added 🐛 バグ 動かない、おかしいなど、不具合の修正タスク 🔥 優先度: 高 最も優先度が高い。すぐに取り掛かるべきタスク labels Sep 28, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the Gemini AI model from 1.5-flash to 2.0-flash to resolve API failures caused by the deprecation of the older model version.

  • Updates Gemini model version to fix 404 API errors
  • Changes model constant from gemini-1.5-flash to gemini-2.0-flash

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Collaborator

@miyakoshi-3854 miyakoshi-3854 left a comment

Choose a reason for hiding this comment

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

確認しました。

@miyakoshi-3854 miyakoshi-3854 merged commit f13cc72 into main Oct 6, 2025
1 check passed
@miyakoshi-3854 miyakoshi-3854 deleted the hotfix/changes-gemini-model branch October 6, 2025 09:02
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.

3 participants