-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed as not planned
Labels
bugSomething isn't workingSomething isn't workingneeds-triagestaleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closedIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed
Description
Describe the bug
I am trying to save the output of a function in it's respective step output. I do use the classic current_step.output = "..." at the end of a function, and of course I also applied the decorator @cl.step(type="tool") before the beginning of the function.
However when I do retrieve the step info in the @cl.on_chat_resume and I try to rebuild the message history, the step will provide only metadata:
{'role': 'tool', 'tool_call_id': 'call_zUOhSG3fzgSQCZxyAvNvro9w', 'name': 'handle_audio_transcription_tool_call', 'content': [{'text': '', 'type': 'text'}]},
I noticed we are now using "content" instead of "output" - (I am confused)
Is there a new way to update the steps that I did not know of?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-triagestaleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closedIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed