这是indexloc提供的服务,不要输入任何密码
Skip to content

feat: add model parameter support for CLI #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 23, 2025

Conversation

z23cc
Copy link
Contributor

@z23cc z23cc commented Jul 23, 2025

  • Add --model/-m CLI option to specify AI model
  • Update GrokAgent constructor to accept model parameter
  • Pass model parameter to GrokClient for initialization
  • Add model selection documentation to README
  • Enable support for multiple AI models (Grok, Gemini, Claude, etc.)

- Add --model/-m CLI option to specify AI model
- Update GrokAgent constructor to accept model parameter
- Pass model parameter to GrokClient for initialization
- Add model selection documentation to README
- Enable support for multiple AI models (Grok, Gemini, Claude, etc.)

Usage: grok --model gemini-2.5-pro --api-key YOUR_KEY

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Contributor

@homanp homanp left a comment

Choose a reason for hiding this comment

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

This is great! Thanks!

@homanp homanp merged commit 6f8f9cf into superagent-ai:main Jul 23, 2025
2 checks passed
jasonkneen pushed a commit to jasonkneen/grok-cli that referenced this pull request Jul 24, 2025
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