Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add reasoning_content field to chat completions response #536

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rxrw
Copy link

@rxrw rxrw commented Mar 13, 2025

What:

  • Bug Fix
  • New Feature

Description:

Add support for the reasoning_content field in chat completions API responses. This field is added at the same level as content in both streaming and non-streaming requests. The field is marked as optional to handle cases where it's not present in the API response.

Related:

#517

@iBotPeaches
Copy link
Collaborator

With the latest merges our pipeline should be runnable again. If you rebase we can see if this change will merge cleanly.

@iBotPeaches iBotPeaches marked this pull request as draft April 8, 2025 22:32
Add support for the reasoning_content field in chat completions API responses. This field is added at the same level as content in both streaming and non-streaming requests. The field is marked as optional to handle cases where it's not present in the API response.
@rxrw rxrw force-pushed the add-reasoning-content branch from 1d178e8 to 4415acd Compare April 9, 2025 01:51
@rxrw rxrw marked this pull request as ready for review April 9, 2025 01:52
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.

2 participants