Skip to content

Commit

Permalink
fix stream
Browse files Browse the repository at this point in the history
  • Loading branch information
nicarq committed Jan 10, 2025
1 parent 643ddb7 commit 1b3ca73
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ impl LLMService for OpenAI {
"model": self.model_type,
"messages": messages_json,
"max_tokens": result.remaining_output_tokens,
"stream": is_stream,
});

// Conditionally add functions to the payload if tools_json is not empty
Expand Down

0 comments on commit 1b3ca73

Please sign in to comment.