From 2854e04bbb135d54b44d9d261a91071c470b79a5 Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Sat, 31 Jan 2026 11:23:08 +0800 Subject: [PATCH] fix(misc): update user agent string for opencode --- internal/misc/codex_instructions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/misc/codex_instructions.go b/internal/misc/codex_instructions.go index d50e8cef..b8370480 100644 --- a/internal/misc/codex_instructions.go +++ b/internal/misc/codex_instructions.go @@ -36,7 +36,7 @@ var opencodeCodexInstructions string const ( codexUserAgentKey = "__cpa_user_agent" - userAgentOpenAISDK = "ai-sdk/openai/" + userAgentOpenAISDK = "opencode/" ) func InjectCodexUserAgent(raw []byte, userAgent string) []byte {