Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
5 changes: 4 additions & 1 deletion src/handlers/eval/batch-evaluation/simulate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@ export const createSimulateBatchEvaluationHandler = (core: Core, _io: AppIO) =>
'JSON payload template; {input} is the scenario input, e.g. {"prompt":"{input}"}',
z.string().optional(),
),
flag("header", "an ordered application header (repeatable)", z.array(z.string()).optional()),
flag("header", "an ordered application header (repeatable)", z.array(z.string()).optional(), {
sensitive: true,
}),
flag(
"bearer-token",
"CUSTOM_JWT bearer token (for JWT-auth runtimes)",
z.string().optional(),
{ sensitive: true },
),
flag("user-id", "runtime user id", z.string().optional()),
flag("dataset", "dataset source: local JSONL path or a dataset id", z.string().optional()),
Expand Down
5 changes: 4 additions & 1 deletion src/handlers/eval/ondemand/simulate/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ export const createSimulateOnDemandHandler = (core: Core, _io: AppIO) =>
'JSON payload template; {input} is the scenario input, e.g. {"prompt":"{input}"}',
z.string().optional(),
),
flag("header", "an ordered application header (repeatable)", z.array(z.string()).optional()),
flag("header", "an ordered application header (repeatable)", z.array(z.string()).optional(), {
sensitive: true,
}),
flag(
"bearer-token",
"CUSTOM_JWT bearer token (for JWT-auth runtimes)",
z.string().optional(),
{ sensitive: true },
),
flag("user-id", "runtime user id", z.string().optional()),
flag("dataset", "dataset source: local JSONL path or a dataset id", z.string().optional()),
Expand Down
Loading