diff --git a/maubot_llmplus/local_paltform.py b/maubot_llmplus/local_paltform.py index fbd9e09..c529fc8 100644 --- a/maubot_llmplus/local_paltform.py +++ b/maubot_llmplus/local_paltform.py @@ -23,7 +23,7 @@ class Ollama(Platform): full_context.extend(list(context)) endpoint = f"{self.url}/api/chat" - req_body = {'model': self.model, 'messages': full_context, 'steam': False} + req_body = {'model': self.model, 'messages': full_context, 'stream': False} headers = {'Content-Type': 'application/json'} if self.api_key is not None: headers['Authorization'] = self.api_key