Skip to content

Conversation

@felixarntz
Copy link
Member

There is no way in the OpenAI chat/completions specification to mark input message content as thoughts/reasoning. So far we're just passing all text through as regular content, which can lead to model confusion because it can't differentiate between actual model responses and thoughts from previous turns.

Therefore, it's safer to skip them entirely. Thoughts should not matter too much for subsequent turns. Ideally this would be supported by the API, but the tradeoff of skipping is safer.

@felixarntz felixarntz added this to the 0.4.0 milestone Dec 22, 2025
@felixarntz felixarntz added the [Type] Bug An existing feature does not function as intended label Dec 22, 2025
@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: felixarntz <flixos90@git.wordpress.org> 

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Bug An existing feature does not function as intended

2 participants