GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fix: filter messages with only step-start parts in toModelMessage by coleleavitt · Pull Request #6383 · anomalyco/opencode Conversation
Contributor
SummaryFixes compaction errors caused by messages containing only ProblemThe previous fix (#4811, commit 13f89fd) filtered messages with zero parts, but messages containing only SolutionChanged the filter from checking TestingThis fix ensures that during compaction, only messages with meaningful content are sent to the API, preventing the "non-empty content" validation error.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe previous fix (13f89fd) filtered messages with zero parts, but messages containing only step-start parts still passed through. step-start is metadata that doesn't produce actual API content, causing 'non-empty content' errors during compaction when such messages are sent to Claude. This fix ensures messages have at least one content-producing part (text, tool, reasoning) rather than just checking for any parts.
shuv1337
added a commit
to shuv1337/shuvcode
that referenced
this pull request
Resolved conflicts: - .github/workflows/docs-update.yml: deleted (fork removed this workflow) - .gitignore: merged both entries (docker/workspace + opencode-dev, logs/) - packages/app/src/pages/layout.tsx: kept fork's inline layout structure, incorporated upstream's providers.all().length check for connect button Upstream changes included: - fix: filter messages with only step-start parts (anomalyco#6383) - feat(format): add nixfmt formatter for Nix files (anomalyco#6380) - fix(desktop): don't flash permissions with auto-accept - fix(desktop): scroll sync - fix(desktop): more performance/scrolling fixes - feat(desktop): auto-accept edits toggle - fix: prevent truncated Claude streams (anomalyco#6388) - Desktop: Image Preview and Dedupe File Upload (anomalyco#6372)
hk9890
pushed a commit
to hk9890/opencode
that referenced
this pull request
triklozoid
pushed a commit
to triklozoid/opencode
that referenced
this pull request
AIALRA-0
pushed a commit
to AIALRA-0/opencode-turn-engine
that referenced
this pull request
Rwanbt
pushed a commit
to Rwanbt/unifia
that referenced
this pull request
MarsQiu007
referenced
this pull request
in MarsQiu007/openNovel
meSingh
pushed a commit
to meSingh/opencode
that referenced
this pull request
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |