You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can include images for vision with certain LLM provider APIs like OpenAI. The structure is slightly different and as a result it's not showing up in the UI. This also means that content sent in this structure won't show up even if it's just text.
Here is an example of the code that I would like to render images but instead only shows the raw json:
Neither of the above show up pretty in the UI like I would like. Taking a look at the code, it seems like this is because the UI only handles the non-list str messages array structure e.g. {"role": "user", "content": "Recommend a book"}
Python, Logfire & OS Versions, related packages (not required)
No response
The text was updated successfully, but these errors were encountered:
Description
You can include images for vision with certain LLM provider APIs like OpenAI. The structure is slightly different and as a result it's not showing up in the UI. This also means that content sent in this structure won't show up even if it's just text.
Here is an example of the code that I would like to render images but instead only shows the raw json:
Neither of the above show up pretty in the UI like I would like. Taking a look at the code, it seems like this is because the UI only handles the non-list
str
messages array structure e.g.{"role": "user", "content": "Recommend a book"}
Python, Logfire & OS Versions, related packages (not required)
No response
The text was updated successfully, but these errors were encountered: