Steffen Deusch
Steffen Deusch
Interesting! I did debug log the body in the stream function and did see the reasoning_opaque being sent back iirc, but I’ll check again tomorrow when I’m back at the...
@Coruscant11 thanks for trying! GPT-5 variants use the responses API version, which this PR does not affect. I need to check Opus - it's possible that reasoning needs to be...
@aadishv the place you log in convertToOpenAICompatibleChatMessages is wrong though, it’s just after initializing the variable so you’ll never see opaque not being undefined there. Try logging here https://github.com/aadishv/opencode/blob/5776493d4add243cf2bb155ed3989dac835328a9/packages/opencode/src/provider/sdk/copilot/chat/openai-compatible-chat-language-model.ts#L320, which...
@aadishv the reasoning_opaque is part of the previous assistant messages, not the user message. So your check would need to be `args.messages.at(-2).reasoning_opaque`