convert_stop_reason_to_finish_reason(stop_reason: str) -> Literal['stop', 'length', 'tool_calls', 'content_filter']
stop_reason