Repository navigation
chore(deps): upgrade Bifrost core to 1.15.2 and CPA to v8.0.77 - #982
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
关联 Issue / Related Issue
Supersedes #974 and #975.
变更内容 / Change Content
Upgrade Bifrost core from 1.14.1 to 1.15.2, and CPA from 8.0.60 to 8.0.77 in both Go modules. Dependabot split these SDKs across #974 and #975, and neither builds alone: #974 misses the root
go mod tidyand the new Claude baseline, and #975 fails to compile Bifrost.Bifrost core 1.15.x replaces
github.com/mark3labs/mcp-gowith its forkgithub.com/maximhq/mcp-go(b7da3bc145a1). Replace directives in dependencies do not apply to consumers, so Bifrost's MCP code callsclient.WithRequestClientCapabilities, which only exists in the fork. The root module now carries the same replace, matching the combination Bifrost builds and tests with. 1.15.2 fixes gateway crashes on chat requests with no messages, panics on null Geminiparts, and unrecovered panics in provider stream goroutines. Bifrost'sCheckContextAndGetRequestBodyis now generic, so one test converter returns the concrete*openai.OpenAIResponsesRequest.Bifrost 1.15 now merges an assistant turn's narration and tool calls into one Chat message when converting Responses input. That message's
reasoningkeeps only the first reasoning fragment; laterreasoning_textfragments survive only inreasoning_details. The compatible Chat path now builds the full turn reasoning fromreasoning.textdetails when present, so OpenAI-compatible upstreams still receive every fragment (Full.\nMore.) inreasoning_content. Messages without text details keep usingreasoning. The existing regression test caught this after the upgrade.CPA 8.0.77 depends on
github.com/MoeForge/moegov0.1.0-alpha.4 directly and no longer replaces it withrouter-for-me/moego. Both modules drop the old version-specific replace for v0.1.0-alpha.1, which no longer matches. The Go proxy commits for CPA v8.0.77 match the GitHub tag.Update pinned client identities and snapshots:
codex-rs/models-manager/models.jsonaddsgpt-6.2-solandgpt-6.2-astraand updates metadata for existing models, including a 500000context_windowforgpt-6.1-sol(previously 272000).829b3b7f. Onlygpt-6.2-astraandgpt-6.2-solare added, both withsupport_configuration_update. The snapshot is built with the same method, which still reproduces the previous file byte for byte.Other Go updates: brotli 1.3.0, klauspost/compress 1.20.4, pion/ice 4.4.9, gjson 1.20.4, sjson 1.2.10, x/crypto 0.59.0, x/sys 0.50.0, x/text 0.44.0.
Validation:
TestCompatibleAssistantToolTurnsKeepContentAndBoundaries/full_reasoning_across_fragmentsfailed on Bifrost 1.15.2 before the reasoning fix and passes afterward.make checkpassed.go mod tidy -diff,go vet ./...andgo test -count=1 ./...passed.go mod tidy -diffandgo mod verifypassed for both modules.No database schema change, data migration or public documentation update is required.
自查清单 / Checklist
make check,或在说明中写明无法运行的原因和未验证范围。 / I ranmake check, or documented why it could not run and what remains unverified.