chore: update to our fork of charm.land/fantasy with appendCompact perf improvement#24142
chore: update to our fork of charm.land/fantasy with appendCompact perf improvement#24142
Conversation
There was a problem hiding this comment.
Pull request overview
Updates Go module dependencies to newer internal fork revisions to pick up performance improvements (notably appendCompact) and align the Anthropic SDK fork with the coder_2_33 tracking described in the PR.
Changes:
- Bump
charm.land/fantasyreplacement to a newergithub.com/coder/fantasypseudo-version (perf improvement referenced in comments). - Switch
github.com/charmbracelet/anthropic-sdk-goreplacement fromgithub.com/kylecarbs/anthropic-sdk-gotogithub.com/coder/anthropic-sdk-goat a newer pseudo-version. - Drop
github.com/charmbracelet/openai-gofromgo.modindirect requirements and remove correspondinggo.sumentries.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| go.mod | Updates replace directives for fantasy and Anthropic SDK forks; removes unused indirect charmbracelet/openai-go requirement; adds clarifying comments. |
| go.sum | Refreshes module checksums to match updated fork pseudo-versions and removed dependency entries. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
e2b6873 to
77a532d
Compare
| replace github.com/anthropics/anthropic-sdk-go v1.19.0 => github.com/dannykopping/anthropic-sdk-go v0.0.0-20251230111224-88a4315810bd | ||
|
|
||
| // SasSwart perf fork of openai-go with fix for WithJSONSet + deferred serialization. | ||
| // https://github.com/kylecarbs/openai-go/pull/2 | ||
| replace github.com/openai/openai-go/v3 => github.com/kylecarbs/openai-go/v3 v3.0.0-20260319113850-9477dcaedcae |
There was a problem hiding this comment.
review: moved these up to keep them with the other perf improvements
johnstcn
left a comment
There was a problem hiding this comment.
Smoke-tested both OpenAI and Anthropioc agents with develop.sh
|
@ibetitsmike does this need a cherry? |
|
@johnstcn the token accounting thing is important, but neglibale for EA |
Fixes CODAGT-117
Updates go.mod to reference our forks of the following dependencies: