Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/AI/Grok/GrokChatClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public GrokChatClient(string apiKey, string modelId, OpenAIClientOptions? option
this.modelId = modelId;
this.options = options ?? new();
this.options.Endpoint ??= new Uri("https://api.x.ai/v1");
metadata = new ChatClientMetadata("x.ai", this.options.Endpoint, modelId);
metadata = new ChatClientMetadata("xai", this.options.Endpoint, modelId);

// NOTE: by caching the pipeline, we speed up creation of new chat clients per model,
// since the pipeline will be the same for all of them.
Expand Down
Loading