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
andstor
changed the title
[smolagents] MESSAGE_CONTENTS semantic convention not supported in Arize
[smolagents] MESSAGE_CONTENTS semantic convention not supported in smollagents
Jan 29, 2025
Hey @andstor! I'm here to help you with any bugs, questions, or contributions you have for huggingface/smolagents. Let's tackle this issue together!
The error you're encountering is due to the change in the message content structure from a simple string to a list of subcontent dictionaries. The Arize Phoenix framework expects the llm.input_messages to be a list of objects where each message's content is a string, not a list of dictionaries [1].
To resolve this, you need to adjust the message content to match the expected structure. You can either:
Convert the list of subcontent dictionaries into a single string before passing it to Arize Phoenix.
Modify the processing logic in your application to handle the new structure if you have control over the Arize Phoenix integration.
If you need to maintain the new structure for other parts of your application, consider creating a separate processing step specifically for compatibility with Arize Phoenix.
andstor
changed the title
[smolagents] MESSAGE_CONTENTS semantic convention not supported in smollagents
[smolagents] llm input messages are empty
Jan 29, 2025
Describe the bug
huggingface/smolagents#220 modifies llm message contents from a simple string to a list of subcontent.
from:
to:
To Reproduce
Follow standard tutorial on huggingface.
https://github.com/huggingface/smolagents/blob/022947a2a587483ac897f403f52a1e0a50f53667/docs/source/en/tutorials/inspect_runs.md
This results in the following error:
Screenshots
The text was updated successfully, but these errors were encountered: