Remove reasoning content from the model's response.
(self)
| 1984 | return self.get_multi_response_content_in_progress() |
| 1985 | |
| 1986 | def remove_reasoning_content(self): |
| 1987 | """Remove reasoning content from the model's response.""" |
| 1988 | |
| 1989 | self.partial_response_content = remove_reasoning_content( |
| 1990 | self.partial_response_content, |
| 1991 | self.reasoning_tag_name, |
| 1992 | ) |
| 1993 | |
| 1994 | def calculate_and_show_tokens_and_cost(self, messages, completion=None): |
| 1995 | prompt_tokens = 0 |