Skip to content

Fix issue with MessageRole Enums and LLM pipeline #888

@davidmezzetti

Description

@davidmezzetti

The Transformers Agents component is now setting the message role using an Enum. This works fine for Transformers-backed LLMs but fails with other LLMs (LiteLLM, llama.cpp).

Logic should be added to convert these Enums to their string value.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions