Skip to content

Route Discord bot chat through OpenRouter - #92

Merged
Navneethd8 merged 1 commit into
mainfrom
feat/openrouter-bot-chat
Oct 24, 2026
Merged

Navneethd8 merged 1 commit into
mainfrom
feat/openrouter-bot-chat

Conversation

@Navneethd8

@Navneethd8 Navneethd8 commented Oct 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Discord bot chat now calls OpenRouter (openrouter/free by default) instead of Gemini, so free-tier replies are not stuck at Gemini's daily cap. Resume review still uses Gemini.
  • Members invoke the bot by saying rusty instead of gemini.
  • OPENROUTER_API_KEY and OPENROUTER_MODEL are wired through compose and .env.example.

Test plan

  • Set OPENROUTER_API_KEY and rebuild the AI service (docker compose up -d --build ai bot).
  • In the off-topic channel, send a message containing rusty and confirm the bot replies.
  • Confirm a message that only says gemini no longer triggers a reply.
  • Confirm resume review still runs through Gemini.

Made with Cursor


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Gemini's free tier was too small for club chat. Replies now use OpenRouter's free models, and members call the bot with rusty.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI balanced review requested due to automatic review settings October 24, 2026 04:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Navneethd8
Navneethd8 merged commit 022c8ec into main Oct 24, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants