Skip to content

Track trajectory finish state using metadata#563

Open
ashim-mahara wants to merge 1 commit intoOpenPipe:mainfrom
ashim-mahara:bugfix/tokenizing_finished_trajectories
Open

Track trajectory finish state using metadata#563
ashim-mahara wants to merge 1 commit intoOpenPipe:mainfrom
ashim-mahara:bugfix/tokenizing_finished_trajectories

Conversation

@ashim-mahara
Copy link

Uses trajectory.metadata["finished"] to help track trajectory life. This helps to set the continue_final_message which in turn fixes the apply_chat_template_error since the continue_final_message is always true in the previous tokenize_trajectory call path

…nished, this helps to set the continue_final_message which in turn fixes the apply_chat_template_error since the continue_final_message is always true in the previous tokenize_trajectory call path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments