From 1b3ca730302b397fb834303a5dd71130daee5d0a Mon Sep 17 00:00:00 2001 From: Nico Arqueros Date: Fri, 10 Jan 2025 13:48:34 -0600 Subject: [PATCH] fix stream --- shinkai-bin/shinkai-node/src/llm_provider/providers/openai.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/shinkai-bin/shinkai-node/src/llm_provider/providers/openai.rs b/shinkai-bin/shinkai-node/src/llm_provider/providers/openai.rs index 7badc4d82..6c2d6831f 100644 --- a/shinkai-bin/shinkai-node/src/llm_provider/providers/openai.rs +++ b/shinkai-bin/shinkai-node/src/llm_provider/providers/openai.rs @@ -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