diff --git a/maubot_llmplus/local_paltform.py b/maubot_llmplus/local_paltform.py index 2c2beca..67ac655 100644 --- a/maubot_llmplus/local_paltform.py +++ b/maubot_llmplus/local_paltform.py @@ -37,7 +37,7 @@ class Ollama(Platform): finish_reason=f"http status {response.status}", model=None ) - response_json = response.json() + response_json = await response.json() return ChatCompletion( message=response_json['message'], finish_reason='success',