fix(deps): pin openai==2.44.0 to avoid InputTokensDetails breaking ch…#191
Merged
Conversation
…ange (#187) openai 2.45.0 added a required, no-default field cache_write_tokens to InputTokensDetails. openai-agents 0.17.3 builds that object without the field, so every LLM response crashes usage parsing with a pydantic ValidationError. openkb did not pin openai, so fresh installs resolved it to 2.45/2.46 and broke on any model. Pin below 2.45 until openai-agents adapts.
KylinMountain
added a commit
that referenced
this pull request
Jul 20, 2026
Bring in #189 (Knowledge Workbench frontend) and #191 (openai==2.44.0 pin) so the lazy-import converter branch is current with main before review. Claude-Session: https://claude.ai/code/session_01XMxbhmAkxxVV8CFWCZDBaG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ange (#187)
openai 2.45.0 added a required, no-default field cache_write_tokens to InputTokensDetails. openai-agents 0.17.3 builds that object without the field, so every LLM response crashes usage parsing with a pydantic ValidationError. openkb did not pin openai, so fresh installs resolved it to 2.45/2.46 and broke on any model. Pin below 2.45 until openai-agents adapts.