core: Add User-Agent header to identify client version in HTTP requests
This commit is contained in:
parent
2893588016
commit
fc6d4b4010
@ -373,6 +373,7 @@ const live: Layer.Layer<
|
||||
"x-opencode-session": input.sessionID,
|
||||
"x-opencode-request": input.user.id,
|
||||
"x-opencode-client": Flag.OPENCODE_CLIENT,
|
||||
"User-Agent": `opencode/${InstallationVersion}`,
|
||||
}
|
||||
: {
|
||||
"x-session-affinity": input.sessionID,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user