Is xAI/Grok supported? #527
Unanswered
MetacodeX7
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, I think it primarily comes from https://github.com/tryAGI/OpenAI SDK, but it seems I made the necessary adjustments to make Groq work, need to double check Please note that the project does not have resources for active development now, it is better to use Microsoft.Extensions.AI / SemanticKernel if your requirements allow you |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I notice there's no provider library for xAI and Grok, but I was able to use OpenAI as a replacement until now.
Recently something must have changed on xAI's side, and I get two errors:
In the first case, I think xAI should be more open minded and just ignore the extra logit_bias.
In the second case, I think it's fair that a finish_reason would be missing when the streaming is not finished.
In both cases the OpenAi provider could be modified just a little to handle these variations gracefully (OpenAI doesn't care if logit_bias is null)
So my question is: would it make sense to adjust the OpenAi provider, so it supports those minor variations and handles xAI Grok requests?
Beta Was this translation helpful? Give feedback.
All reactions