Skip to content

fix(deps): pin openai==2.44.0 to avoid InputTokensDetails breaking ch…#191

Merged
KylinMountain merged 2 commits into
mainfrom
hotfix/openai-pin
Jul 20, 2026
Merged

fix(deps): pin openai==2.44.0 to avoid InputTokensDetails breaking ch…#191
KylinMountain merged 2 commits into
mainfrom
hotfix/openai-pin

Conversation

@KylinMountain

Copy link
Copy Markdown
Collaborator

…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.

…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
KylinMountain merged commit fabca42 into main Jul 20, 2026
5 checks passed
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
@KylinMountain
KylinMountain deleted the hotfix/openai-pin branch July 22, 2026 03:44
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.

1 participant