Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

f

EvensXia685d301a66db
diff --git a/metagpt/provider/ollama_api.py b/metagpt/provider/ollama_api.py
index 178003742..79494058c 100644
--- a/metagpt/provider/ollama_api.py
+++ b/metagpt/provider/ollama_api.py
@@ -48,7 +48,7 @@ class OllamaMessageBase:
if tpe == "text":
return msg["text"], None
elif tpe == "image_url":
- return None, msg["image_url"]["url"][self._image_b64_rms:]
+ return None, msg["image_url"]["url"][self._image_b64_rms :]
else:
raise ValueError
else: