diff --git a/src/AI/Grok/GrokChatClient.cs b/src/AI/Grok/GrokChatClient.cs index 2b7b29b..d657320 100644 --- a/src/AI/Grok/GrokChatClient.cs +++ b/src/AI/Grok/GrokChatClient.cs @@ -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.