Skip to content

Adding thinkingpart to otel_events in ModelResponse #2237

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

Draft
wants to merge 41 commits into
base: main
Choose a base branch
from

Conversation

adtyavrdhn
Copy link
Contributor

@adtyavrdhn adtyavrdhn commented Jul 17, 2025

Closes #2131

Moves from each TextPart being its own event to clubbing all TextParts and ThinkingPart events into one body

Updates the tests based on this new approach

@adtyavrdhn adtyavrdhn marked this pull request as ready for review July 17, 2025 16:58
@adtyavrdhn
Copy link
Contributor Author

@alexmojaki

I've clubbed the events together keeping only ToolCallPart separate.

@adtyavrdhn adtyavrdhn requested a review from alexmojaki July 18, 2025 13:50
Copy link
Contributor

@alexmojaki alexmojaki left a comment

Choose a reason for hiding this comment

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

This looks good but it turns out our UI isn't quite ready yet so I think merging this should wait a bit

@alexmojaki alexmojaki marked this pull request as draft July 22, 2025 17:40
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.

LLM thinking blocks displayed in Logfire message view
2 participants