Closed
Description
Hayhooks fails with Chat Messages because the pydantic conversion to a dict remove ChatMessage class.
I had to work around like this:
dict_local = pipeline_run_req.dict()
dict_local["prompt_builder"]["prompt_source"] = pipeline_run_req.prompt_builder.prompt_source
result = pipe.run(data=dict_local)
Metadata
Metadata
Assignees
Labels
No labels