mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
refactor(gateway): simplify Mistral FIM endpoint cache
This commit is contained in:
@@ -145,7 +145,7 @@ export const kiloGatewayHandlers = HttpApiBuilder.group(InstanceHttpApi, "kilo",
|
||||
}),
|
||||
})
|
||||
}
|
||||
if (target.provider === "mistral") return requestMistralFim(token, run)
|
||||
if (target.provider === "mistral") return requestMistralFim(run)
|
||||
return run(target.urls[0]!)
|
||||
} catch (err) {
|
||||
if (err instanceof DOMException && err.name === "TimeoutError")
|
||||
|
||||
Reference in New Issue
Block a user