Skip to content

Commit

Permalink
fix: fixing errors from user study
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyashankar committed Nov 25, 2024
2 parents b04c2a4 + b7a026c commit fbbbcd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/app/api/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,12 @@ export function generatePipelineConfig(

if (system_prompt) {
if (system_prompt.datasetDescription) {
// @ts-expect-error
// @ts-ignore
pipelineConfig.system_prompt!.dataset_description =
system_prompt.datasetDescription;
}
if (system_prompt.persona) {
// @ts-expect-error
// @ts-ignore
pipelineConfig.system_prompt!.persona = system_prompt.persona;
}
}
Expand Down

0 comments on commit fbbbcd6

Please sign in to comment.