Skip to content

Commit 1bf7c79

Browse files
committed
Sync evals types to extension types
1 parent 02274ef commit 1bf7c79

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

evals/apps/web/src/app/runs/new/new-run.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ export function NewRun() {
9494
}
9595

9696
const openRouterModelId = openRouterModel.id
97-
const openRouterModelInfo = openRouterModel.modelInfo
98-
values.settings = { ...(values.settings || {}), openRouterModelId, openRouterModelInfo }
97+
values.settings = { ...(values.settings || {}), openRouterModelId }
9998
}
10099

101100
const { id } = await createRun(values)

evals/packages/types/src/roo-code.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -304,12 +304,10 @@ export const providerSettingsSchema = z.object({
304304
anthropicUseAuthToken: z.boolean().optional(),
305305
// Glama
306306
glamaModelId: z.string().optional(),
307-
glamaModelInfo: modelInfoSchema.optional(),
308307
glamaApiKey: z.string().optional(),
309308
// OpenRouter
310309
openRouterApiKey: z.string().optional(),
311310
openRouterModelId: z.string().optional(),
312-
openRouterModelInfo: modelInfoSchema.optional(),
313311
openRouterBaseUrl: z.string().optional(),
314312
openRouterSpecificProvider: z.string().optional(),
315313
openRouterUseMiddleOutTransform: z.boolean().optional(),
@@ -371,11 +369,9 @@ export const providerSettingsSchema = z.object({
371369
// Unbound
372370
unboundApiKey: z.string().optional(),
373371
unboundModelId: z.string().optional(),
374-
unboundModelInfo: modelInfoSchema.optional(),
375372
// Requesty
376373
requestyApiKey: z.string().optional(),
377374
requestyModelId: z.string().optional(),
378-
requestyModelInfo: modelInfoSchema.optional(),
379375
// Claude 3.7 Sonnet Thinking
380376
modelMaxTokens: z.number().optional(), // Currently only used by Anthropic hybrid thinking models.
381377
modelMaxThinkingTokens: z.number().optional(), // Currently only used by Anthropic hybrid thinking models.
@@ -401,12 +397,10 @@ const providerSettingsRecord: ProviderSettingsRecord = {
401397
anthropicUseAuthToken: undefined,
402398
// Glama
403399
glamaModelId: undefined,
404-
glamaModelInfo: undefined,
405400
glamaApiKey: undefined,
406401
// OpenRouter
407402
openRouterApiKey: undefined,
408403
openRouterModelId: undefined,
409-
openRouterModelInfo: undefined,
410404
openRouterBaseUrl: undefined,
411405
openRouterSpecificProvider: undefined,
412406
openRouterUseMiddleOutTransform: undefined,
@@ -460,11 +454,9 @@ const providerSettingsRecord: ProviderSettingsRecord = {
460454
// Unbound
461455
unboundApiKey: undefined,
462456
unboundModelId: undefined,
463-
unboundModelInfo: undefined,
464457
// Requesty
465458
requestyApiKey: undefined,
466459
requestyModelId: undefined,
467-
requestyModelInfo: undefined,
468460
// Claude 3.7 Sonnet Thinking
469461
modelMaxTokens: undefined,
470462
modelMaxThinkingTokens: undefined,

0 commit comments

Comments
 (0)