Skip to content

fix(prompt): Fix reasoning for openai and google clients#1868

Open
tiginamaria wants to merge 2 commits intodevelopfrom
tigina/reasoning-fix
Open

fix(prompt): Fix reasoning for openai and google clients#1868
tiginamaria wants to merge 2 commits intodevelopfrom
tigina/reasoning-fix

Conversation

@tiginamaria
Copy link
Copy Markdown
Collaborator

  • Support keepalive event from openai streaming
  • Add condition to check if the text from google is reasoning or plain text?

closes #1865 #1866

Copy link
Copy Markdown
Collaborator

@antoniibelyshev antoniibelyshev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, the fix looks good! Can we also add a test for the reasoning?

@aozherelyeva
Copy link
Copy Markdown
Contributor

aozherelyeva commented Apr 21, 2026

I'll add the tests in a bit

UPD: done

@aozherelyeva aozherelyeva force-pushed the tigina/reasoning-fix branch from b27c7af to be06178 Compare April 21, 2026 13:53
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.

GoogleLLMClient.executeStreaming drops Gemini thought parts and emits them as TextDelta (inconsistent with non-streaming path and OpenAI streaming)

3 participants