Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/evals/src/cli/runTask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ export const runTask = async ({ run, task, publish, logger }: RunTaskOptions) =>
data: {
configuration: {
...EVALS_SETTINGS,
...run.settings,
openRouterApiKey: process.env.OPENROUTER_API_KEY,
...run.settings, // Allow the provided settings to override `openRouterApiKey`.
},
text: prompt,
newTab: true,
Expand Down
18 changes: 12 additions & 6 deletions packages/types/src/experiment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ import type { Keys, Equals, AssertEqual } from "./type-fu.js"
* ExperimentId
*/

export const experimentIds = ["powerSteering", "concurrentFileReads", "disableCompletionCommand", "marketplace", "multiFileApplyDiff"] as const
export const experimentIds = [
"powerSteering",
"concurrentFileReads",
"disableCompletionCommand",
"marketplace",
"multiFileApplyDiff",
] as const

export const experimentIdsSchema = z.enum(experimentIds)

Expand All @@ -17,11 +23,11 @@ export type ExperimentId = z.infer<typeof experimentIdsSchema>
*/

export const experimentsSchema = z.object({
powerSteering: z.boolean(),
marketplace: z.boolean(),
concurrentFileReads: z.boolean(),
disableCompletionCommand: z.boolean(),
multiFileApplyDiff: z.boolean(),
powerSteering: z.boolean().optional(),
concurrentFileReads: z.boolean().optional(),
disableCompletionCommand: z.boolean().optional(),
marketplace: z.boolean().optional(),
multiFileApplyDiff: z.boolean().optional(),
})

export type Experiments = z.infer<typeof experimentsSchema>
Expand Down
Loading