Merge branch 'dev' into kit/e2e-golden-path
This commit is contained in:
@@ -103,7 +103,7 @@ export const oxfmt: Info = {
|
||||
|
||||
export const biome: Info = {
|
||||
name: "biome",
|
||||
command: ["bun", "x", "@biomejs/biome", "check", "--write", "$FILE"],
|
||||
command: ["bun", "x", "@biomejs/biome", "format", "--write", "$FILE"],
|
||||
environment: {
|
||||
BUN_BE_BUN: "1",
|
||||
},
|
||||
|
||||
@@ -112,6 +112,7 @@ export namespace CopilotModels {
|
||||
): Promise<Record<string, Model>> {
|
||||
const data = await fetch(`${baseURL}/models`, {
|
||||
headers,
|
||||
signal: AbortSignal.timeout(5_000),
|
||||
}).then(async (res) => {
|
||||
if (!res.ok) {
|
||||
throw new Error(`Failed to fetch models: ${res.status}`)
|
||||
|
||||
Reference in New Issue
Block a user