Skip to content

Unable to Add Models (Claude, Grok-2, Gemini) #3

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

Open
goldenphang opened this issue Apr 6, 2025 · 11 comments
Open

Unable to Add Models (Claude, Grok-2, Gemini) #3

goldenphang opened this issue Apr 6, 2025 · 11 comments

Comments

@goldenphang
Copy link

Hi

I have deleted and generated several keys per model and im still unable to reach the server through CodeNext. I'm unable to chat, as I'm getting" "not found responses. Is there a bug? Seems pretty straight forward, add key, name and URL. However, google says there's no need for a URL if I have the API Key.

Please help, as I'd definitely want to try the app with Xcode.

Thanks
Jason

@johnvicinno
Copy link
Owner

Sorry for the issue. Can you give more details? how to reproduce the issue? are you adding models for chat or autocomplete? can you give model details except API Key?

@goldenphang
Copy link
Author

I'm using the chat feature. Gemini 2.5, grok-2, Claude 3.7 Sonnet. It seems the url is broken, and I get an invalid API (e.g., Grok uses open ai, yet the error shows an error for a Anthropic key). It's like it's swapped internally somehow.

@johnvicinno
Copy link
Owner

you do need to configure a URL for each model. can you give details for each model? like what you configured for each model? eg. what url, format, and model name did you configure for each model?

@johnvicinno
Copy link
Owner

We use Claude 3.7 Sonnet for our own development which works very well.

@johnvicinno
Copy link
Owner

for grok 2, please use openAI compatible format.

@johnvicinno
Copy link
Owner

which version of CodeNext are you using?

@goldenphang
Copy link
Author

version 1.0.6.3. However I reverted to this version after using 1.0.6.4. I was getting the issue there, then I read the logs that there was a URL fix in the .6.3 version. Maybe if I had the correct base URL's for them I could try again. I tried to find YouTube videos of a tutorial with a successful attempt at adding models.

@johnvicinno
Copy link
Owner

Please use the latest version 1.0.6.4 which includes all the fixes so far. If you use Google Vertex Model Garden for those models, please configure them together with Google Generative AI format, or configure them separately. But anyway, you need a URL.

@johnvicinno
Copy link
Owner

Please let us know what we can help. Thanks.

@goldenphang
Copy link
Author

I've down;oaded lates version, and there's no change. I'm still unable to use the chat. API errors. I'm able to use other coding apps, but I really wanted to try Codenext. What would be helpful is if the URL's were built in based on the model you're adding so all you have to do is paste the API key.

@johnvicinno
Copy link
Owner

To be able to help you, please share the details like steps to reproduce the issue. As asked above, tell us what format, url, model name you used so that we can reproduce the issue. Thank you.

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

No branches or pull requests

2 participants