Skip to content

Gemini 2.5 Flash kullanıldığında bot cevap vermiyor (sadece reaction atıyor) / Bot does not reply with Gemini 2.5 Flash / Gemini 2.5 FlashでBotが返信しない #172

@arikantr

Description

@arikantr

🇹🇷 Türkçe

Merhaba,
Misskey AI botunu Docker ile kurdum. Gemini API anahtarım config.json içinde doğru şekilde tanımlı.
Bot mention alıyor, loglarda <<< An message received ve API: notes/reactions/create görünüyor ama asla cevap üretmiyor, sadece like (reaction) atıyor.

Testlerimde fark ettim:

Kodda varsayılan endpoint gemini-2.0-flash-exp olarak sabitlenmiş.

Benim hesabımda aktif olan model ise gemini-2.5-flash.

curl ile 2.5-flash çağırınca cevap dönüyor ama bot hala 2.0-exp’i çağırıyor ve bu model artık çalışmıyor.

Öneri:

Varsayılanı gemini-2.5-flash yapmak
veya

config.json’daki "geminiModel" parametresini okuyacak şekilde esnek hale getirmek.

Teşekkürler 🙏

🇬🇧 English

Hello,
I installed the Misskey AI bot with Docker. My Gemini API key is correctly set in config.json.
The bot receives mentions, and logs show <<< An message received and API: notes/reactions/create, but it never generates a reply – it only sends a like (reaction).

From my tests:

The code currently hardcodes the endpoint as gemini-2.0-flash-exp.

On my account, the available model is gemini-2.5-flash.

Calling 2.5-flash via curl works fine, but the bot still tries to call 2.0-exp, which no longer responds.

Suggestion:

Update the default to gemini-2.5-flash,
or

Make it configurable via "geminiModel" in config.json, so users can choose newer models when available.

Thanks 🙏

🇯🇵 日本語

こんにちは。
Misskey AI BotをDockerで導入しました。GeminiのAPIキーはconfig.jsonに正しく設定済みです。
Botはメンションを受け取り、ログには <<< An message received と API: notes/reactions/create が出ますが、返信を生成せずリアクションだけを返します。

テストの結果:

コードではエンドポイントが gemini-2.0-flash-exp にハードコードされています。

しかし私のアカウントで利用可能なのは gemini-2.5-flash モデルです。

curlで2.5-flashを呼び出すと応答がありますが、Botは依然として2.0-expを呼び出しており、このモデルはもう動作していません。

提案:

デフォルトを gemini-2.5-flash に更新する、
または

config.jsonの "geminiModel" パラメータからモデルを選択できるようにする。

よろしくお願いします 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions