mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-19 07:04:40 +00:00
@@ -92,7 +92,6 @@ export namespace ModelsDev {
|
|||||||
const result = await fetch("https://models.dev/api.json", {
|
const result = await fetch("https://models.dev/api.json", {
|
||||||
headers: {
|
headers: {
|
||||||
"User-Agent": Installation.USER_AGENT,
|
"User-Agent": Installation.USER_AGENT,
|
||||||
"x-opencode-client": Flag.OPENCODE_CLIENT,
|
|
||||||
},
|
},
|
||||||
signal: AbortSignal.timeout(10 * 1000),
|
signal: AbortSignal.timeout(10 * 1000),
|
||||||
}).catch((e) => {
|
}).catch((e) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user