refactor: Kilo user agent

This commit is contained in:
Catriel Müller
2026-02-04 17:55:35 -03:00
parent 14074e0657
commit 587bf77e65
+1 -1
View File
@@ -410,7 +410,7 @@ export namespace Provider {
const providerConfig = config.provider?.["gitlab"]
const aiGatewayHeaders = {
"User-Agent": `opencode/${Installation.VERSION} gitlab-ai-provider/${GITLAB_PROVIDER_VERSION} (${os.platform()} ${os.release()}; ${os.arch()})`,
"User-Agent": `kilo/${Installation.VERSION} gitlab-ai-provider/${GITLAB_PROVIDER_VERSION} (${os.platform()} ${os.release()}; ${os.arch()})`, // kilocode_change
...(providerConfig?.options?.aiGatewayHeaders || {}),
}