From 34e95c46bff797e4bbd9e87991b44a9dc73408cc Mon Sep 17 00:00:00 2001 From: Atif Ali Date: Wed, 19 Aug 2026 15:32:23 +0500 Subject: [PATCH] docs: note JetBrains client attribution in AI Gateway (#28296) Noticed while testing Junie that JetBrains AI Assistant sends `User-Agent: ktor-client`, the stock Ktor default, so AI Gateway records these sessions as `Unknown`. Admins who enable Gateway for governance won't see their JetBrains attributed in the sessions view or the `client` filter. Documents the behavior on the JetBrains client page. Nothing to fix on our side, matching `ktor-client` would misattribute any other Ktor-based application. --- docs/ai-coder/ai-gateway/clients/jetbrains.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ai-coder/ai-gateway/clients/jetbrains.md b/docs/ai-coder/ai-gateway/clients/jetbrains.md index 45f48a41a4..b49cedee5e 100644 --- a/docs/ai-coder/ai-gateway/clients/jetbrains.md +++ b/docs/ai-coder/ai-gateway/clients/jetbrains.md @@ -34,7 +34,8 @@ You can now use the AI Assistant chat with the configured provider. > [!NOTE] > > * JetBrains AI Assistant currently only supports OpenAI-compatible endpoints. There is an open [issue](https://youtrack.jetbrains.com/issue/LLM-22740) tracking support for Anthropic. -> * JetBrains AI Assistant may not support all models that support OPenAI's `/chat/completions` endpoint in Chat mode. +> * JetBrains AI Assistant may not support all models that support OpenAI's `/chat/completions` endpoint in Chat mode. +> * JetBrains AI Assistant does not send an identifying user agent, so AI Gateway records these sessions with the client `Unknown`. Usage, tokens, and audit data are still captured. ## BYOK (Personal API Key)