refactor(gateway): simplify Mistral FIM endpoint cache

This commit is contained in:
Mark IJbema
2026-05-26 11:44:13 +02:00
parent c073dac91f
commit d02145a549
4 changed files with 28 additions and 36 deletions
@@ -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")