Skip to content

Commit 0e01288

Browse files
committed
Simplify X.AI provider name metadata to xai
1 parent bef47c5 commit 0e01288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AI/Grok/GrokChatClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public GrokChatClient(string apiKey, string modelId, OpenAIClientOptions? option
2828
this.modelId = modelId;
2929
this.options = options ?? new();
3030
this.options.Endpoint ??= new Uri("https://api.x.ai/v1");
31-
metadata = new ChatClientMetadata("x.ai", this.options.Endpoint, modelId);
31+
metadata = new ChatClientMetadata("xai", this.options.Endpoint, modelId);
3232

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

0 commit comments

Comments
 (0)