Skip to content

Commit

Permalink
fix: shouldstream is not depend on iso1
Browse files Browse the repository at this point in the history
  • Loading branch information
skymkmk committed Sep 13, 2024
1 parent 71df415 commit d0dce65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/platforms/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export class ChatGPTApi implements LLMApi {

console.log("[Request] openai payload: ", requestPayload);

const shouldStream = !isDalle3 && !!options.config.stream;
const shouldStream = !isDalle3 && !!options.config.stream && !isO1;
const controller = new AbortController();
options.onController?.(controller);

Expand Down

0 comments on commit d0dce65

Please sign in to comment.