Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thyrst committed Jun 17, 2024
1 parent e1f67c8 commit 69cf9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LangtailPrompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class LangtailPrompts {
"x-langtail-do-not-record": doNotRecord ? "true" : "false",
...metadataHeaders,
},
body: JSON.stringify({ stream, ...rest }),
body: JSON.stringify({ stream: stream === true, ...rest }),
}
const promptPath = this.createPromptPath({
prompt,
Expand Down

0 comments on commit 69cf9f6

Please sign in to comment.