fix(agenticopenai): upgrade OpenAI SDK to v3.56.0 - #991
Open
m11y wants to merge 2 commits into
Open
Conversation
Co-Authored-By: GPT-6 <noreply@openai.com>
Co-Authored-By: GPT-6 <noreply@openai.com>
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.
What type of PR is this?
fix
Check the PR title.
<type>(optional scope): <description>.More detailed description
Upgrade
agenticopenaifromopenai-go/v3 v3.35.0to the latest release, v3.56.0, and adapt the converters to its API changes.CallIDinparam.Opt[string]while preserving its JSON wire value.unexpected end of JSON inputon comment-only keep-alive or retry blocks. Hermetic tests use the real HTTP client, SDK decoder and Responses converter, covering comments, retry directives, CRLF and 1000 repeated keep-alive blocks before/between valid response events.Compatibility: this SDK/dependency upgrade raises the module's Go requirement from 1.22 to 1.25.0. The module's Eino dependency remains v0.9.5. Azure/gjson/x dependencies are updated by
go mod tidy. No local fork or replace directive is used.Validation (Go 1.25.14):
go test -race -gcflags="all=-l -N" ./...— PASS, including examples compilation.go vet ./...— PASS.golangci-lint run --new-from-rev=origin/main ./...— PASS.go mod tidy -diff— clean.Downstream verification with this adapter source and SDK v3.56.0 through a temporary modfile (Go 1.26.8, no committed local replace): runtime and provider tests passed; real DeepSeek Responses history replay, long reasoning transport and cache accounting passed:
The reasoning run reached the provider's output-budget terminal event without premature SDK EOF; this is transport validation, not a claim that the answer completed or that first-token latency was long. No credentials or model content are included.