Skip to content

Add code to the invoke() function of class BaseChatModel to move the finish_reason from the chatGeneration to the additional_kwargs of the AIMessage sothat the finish_reason can be used for routing when it is returned by the model in a runnableSequence #3605

reemster123 started this conversation in Ideas
Discussion options

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
1 participant