add client header
Some checks are pending
deploy / deploy (push) Waiting to run
Update Nix Hashes / update (push) Waiting to run

This commit is contained in:
Frank 2025-12-18 10:33:25 -05:00
parent 251fbc0a99
commit 2fb89161c8

View file

@ -92,6 +92,7 @@ export namespace ModelsDev {
const result = await fetch("https://models.dev/api.json", {
headers: {
"User-Agent": Installation.USER_AGENT,
"x-opencode-client": Flag.OPENCODE_CLIENT,
},
signal: AbortSignal.timeout(10 * 1000),
}).catch((e) => {