Skip to content
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

How do I use Grok API #1630

Open
cong91 opened this issue Mar 19, 2025 · 4 comments
Open

How do I use Grok API #1630

cong91 opened this issue Mar 19, 2025 · 4 comments
Labels

Comments

@cong91
Copy link

cong91 commented Mar 19, 2025

Feature request

I want to ask if there is a way to use the Grok API?

Motivation

Using Grok as an additional option for review also seems like a good idea.

@cong91 cong91 added the feature 💡 label Mar 19, 2025
@cong91 cong91 changed the title How do I user Grok API How do I use Grok API Mar 19, 2025
Copy link
Contributor

💡 Auto-generated documentation-based answer:

Currently, Qodo Merge doesn't have direct support for the Grok API. However, Qodo Merge does support multiple AI models through its configuration system.

You can use various models by editing the configuration file:

[config]
model="your_model_name"
fallback_models=["your_fallback_model"]

The models currently supported by Qodo Merge (as of March 2025) include:

  • claude-3-7-sonnet (default)
  • o3-mini
  • gpt-4o
  • deepseek/r1

If you want to use a custom model that isn't directly supported, you can still configure it by:

  1. Setting the model name in the configuration file
  2. Setting the maximum tokens for the model
  3. Setting the relevant environment variables according to the litellm documentation

For more details on changing models, please refer to the "Changing a model" section in the usage guide.

If Grok support is important for your use case, you might want to request this feature through the project's GitHub issues.

Relevant Sources:

@mrT23
Copy link
Collaborator

mrT23 commented Mar 20, 2025

@cong91
Copy link
Author

cong91 commented Mar 21, 2025

Hi @mrT23
I would like to use https://docs.x.ai/docs/overview for review PR.
How can i change to there AI?.
Thanks

@mrT23
Copy link
Collaborator

mrT23 commented Mar 21, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants