mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-25 00:36:55 +02:00
f
This commit is contained in:
parent
c48d16d475
commit
685d301a66
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue