Skip to content

Conversation

@uvenkatateja
Copy link

Summary

Adds OpenRouter as an alternative AI provider, giving users access to 100+ models (Claude, GPT-4, Llama, Mistral, Gemini, etc.) while maintaining full backward compatibility with Groq.

Changes

  • Added new provider config option (groq | openrouter)
  • Created src/utils/openrouter.ts for OpenRouter API integration
  • Updated config to support both GROQ_API_KEY and OPENROUTER_API_KEY
  • Default model per provider: Groq uses llama-3.1-8b-instant, OpenRouter uses anthropic/claude-3.5-sonnet
  • Updated CLI to dynamically select provider based on config
  • Version bump to 1.1.0

Usage

# Switch to OpenRouter
lazycommit config set provider=openrouter
lazycommit config set OPENROUTER_API_KEY=sk-or-your-key

# Use any OpenRouter model
lazycommit config set model=anthropic/claude-3.5-sonnet

# Switch back to Groq (default)
lazycommit config set provider=groq

@vercel
Copy link

vercel bot commented Dec 24, 2025

@uvenkatateja is attempting to deploy a commit to the Kartik Labhshetwar's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant