Skip to content

fix(ollama): bound native streaming 200 success-body NDJSON reads at 16 MiB - #99585

Closed
wangmiao0668000666 wants to merge 1 commit into
openclaw:mainfrom
wangmiao0668000666:fix/ollama-ndjson-stream-bound
Closed

wangmiao0668000666 wants to merge 1 commit into
openclaw:mainfrom
wangmiao0668000666:fix/ollama-ndjson-stream-bound

Conversation

@wangmiao0668000666

@wangmiao0668000666 wangmiao0668000666 commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Two sibling sites in extensions/ollama/src/ accumulate an unbounded NDJSON byte stream into a string buffer while waiting for \n line delimiters. The companion error-body path was bounded at 8 KiB by an earlier PR; the symmetric 200 success-body paths were left open. A hostile, buggy, or misconfigured Ollama-compatible endpoint can cause OpenClaw to grow the string buffer until the gateway OOMs.

Site 1 (chat, /api/chat): extensions/ollama/src/stream.ts (parseNdjsonStream) — used by every native Ollama chat / tool-call flow.

Site 2 (model download, /api/pull): extensions/ollama/src/setup.ts — used by ensureOllamaModelPulled for pulling Ollama model blobs.

Why This Change Was Made

Both sites now wrap their ReadableStreamDefaultReader with a plugin-local createSseByteGuard that tracks accumulated bytes against a 16 MiB cap and cancels the reader on overflow. The helper (extensions/ollama/src/sse-byte-guard.ts) is a plugin-local seam; the canonical implementation lives in packages/ai/src/utils/streaming-byte-guard.ts and will be promoted to a Plugin SDK subpath in a future PR.

User Impact

  • Existing successful native Ollama chat / tool-call / model-pull flows keep working — the only new failure modes are Ollama streaming body exceeded 16777216 bytes (received <size>) (chat) and Ollama pull body exceeded 16777216 bytes (received <size>) (model download) when a streaming endpoint emits >16 MiB before newline-delimited framing.
  • Self-hosted Ollama deployments with unusual proxies in front now have a deterministic OOM/DoS ceiling on both native NDJSON streaming paths.
  • 0 user-visible behavior change for normal-sized responses. 0 config / migration / setup impact. No new Plugin SDK subpath.

Evidence

Real behavior proof

Three-runs of the inline bounds real TCP-streamed NDJSON body without content-length test (Layer 3 inline loopback):

Run cap totalRead (returned) bytesSent (server) receivedBytes (error size) overflowed cancelled
1 16,777,216 16,751,694 19,922,944 16,817,220 true true
2 16,777,216 16,713,602 19,922,944 16,779,128 true true
3 16,777,216 16,761,974 19,922,944 16,827,500 true true

Invariant holds: receivedBytes > cap > totalRead, bytesSent > totalRead.

Inline test coverage (4 tests across 2 test files)

  • stream-runtime.test.ts (3 tests): deterministic overflow via 32 × 1 MiB pull stream; negative control with small valid NDJSON; real TCP loopback proof
  • setup.test.ts (1 test): bounds oversized pull body and cancels the stream

Typecheck & lint

Clean via tsgo:core.

Risk checklist

  • No config, env, SDK, protocol, auth, or migration change.
  • No new Plugin SDK subpath (v2 change based on ClawSweeper feedback).
  • No behavior change for normal-sized responses; 16 MiB is 10× larger than any legitimate Ollama chat response and 160× larger than model-pull progress events.
  • Allow edits by maintainers.

Closes / siblings

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts extensions: ollama size: M labels Jul 3, 2026
@clawsweeper

clawsweeper Bot commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 9, 2026, 8:03 AM ET / 12:03 UTC.

Summary
The PR bounds Ollama native chat and model-pull NDJSON success-body readers at 16 MiB with a plugin-local byte guard and focused overflow/happy-path tests.

PR surface: Source +100, Tests +230. Total +330 across 5 files.

Reproducibility: yes. Source inspection on current main shows both native Ollama success-stream readers append decoded chunks into unbounded buffers before newline framing, and the PR body adds loopback oversized-stream proof for the fixed behavior.

Review metrics: 2 noteworthy metrics.

  • Fail-closed stream caps: 2 added. Both native Ollama success-body consumers gain a new oversized-response failure mode that maintainers should consciously accept.
  • Plugin SDK surface: 0 added, 0 changed, 0 removed. The v2 rewrite keeps the helper plugin-local, so the earlier public SDK subpath risk is no longer in this diff.

Merge readiness
Overall: 🐚 platinum hermit
Proof: 🦞 diamond lobster
Patch quality: 🐚 platinum hermit
Result: ready for maintainer review.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • none.

Risk before merge

  • [P1] Oversized native Ollama chat or model-pull success streams now fail at 16 MiB instead of continuing to buffer, which is intended hardening but still a compatibility boundary for unusual self-hosted or proxied deployments.
  • [P1] The plugin-local helper mirrors the internal packages/ai guard; a future SDK promotion should replace or delete the local copy to avoid long-term drift.

Maintainer options:

  1. Land after accepting the cap (recommended)
    Approve the 16 MiB fail-fast boundary for Ollama chat and pull streams and land the plugin-local implementation once normal branch and CI gates are satisfied.
  2. Change the stream limit before merge
    Ask for a different constant or explicit policy if maintainers expect legitimate native Ollama streams to exceed 16 MiB before line framing.
  3. Pause for shared API direction
    Hold the PR only if maintainers want a Plugin SDK stream-reader contract before any extension-local guard ships.

Next step before merge

  • [P2] The remaining action is maintainer acceptance of the 16 MiB compatibility boundary, not a narrow automated repair.

Maintainer decision needed

  • Question: Should OpenClaw accept a 16 MiB fail-fast cap on native Ollama chat and model-pull success-body streams in this PR?
  • Rationale: The patch fixes a real unbounded-read class, but the new failure mode can affect unusual self-hosted or proxied Ollama deployments that emit more than 16 MiB before NDJSON framing.
  • Likely owner: vincentkoc — The PR discussion asks vincentkoc for the cap/API-boundary call, and he has recent adjacent release/current-main history on the relevant files.
  • Options:
    • Accept the 16 MiB cap (recommended): Land the narrow Ollama hardening with the plugin-local guard and treat oversized unframed streams as invalid provider behavior.
    • Ask for a different boundary: Have the contributor adjust the constant or policy if maintainers know legitimate Ollama deployments need a larger success-stream window.
    • Defer for SDK consolidation: Pause the PR only if maintainers want the stream guard exposed through a shared Plugin SDK seam before any Ollama plugin-local use lands.

Security
Cleared: No concrete security or supply-chain regression found; the diff adds no dependencies, workflows, secret handling, lifecycle hooks, or downloaded-code execution and hardens an OOM/DoS class.

Review details

Best possible solution:

Land the plugin-local bounded-reader fix after maintainers accept the 16 MiB Ollama fail-fast boundary, and handle any future shared helper/API promotion in a separate dedicated Plugin SDK PR.

Do we have a high-confidence way to reproduce the issue?

Yes. Source inspection on current main shows both native Ollama success-stream readers append decoded chunks into unbounded buffers before newline framing, and the PR body adds loopback oversized-stream proof for the fixed behavior.

Is this the best way to solve the issue?

Yes, with a maintainer compatibility call. Wrapping the readers before parser accumulation is the narrow fix, and v2 avoids publishing a new Plugin SDK subpath while leaving shared API promotion for a separate PR.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against c9b3358d43f7.

Label changes

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: This is a normal-priority Ollama OOM/DoS hardening PR with a focused provider-stream blast radius.
  • merge-risk: 🚨 compatibility: Merging changes oversized native Ollama success streams from unbounded buffering to fail-closed errors at 16 MiB.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR body includes after-fix terminal proof from a real loopback TCP stream showing overflow and cancellation near the 16 MiB cap, plus focused committed tests for overflow and normal NDJSON behavior.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body includes after-fix terminal proof from a real loopback TCP stream showing overflow and cancellation near the 16 MiB cap, plus focused committed tests for overflow and normal NDJSON behavior.
Evidence reviewed

PR surface:

Source +100, Tests +230. Total +330 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 3 104 4 +100
Tests 2 230 0 +230
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 334 4 +330

What I checked:

  • Repository policy applied: Root AGENTS.md and extensions/AGENTS.md were read fully; the review applied the plugin-boundary and compatibility guidance for extension-local runtime code and fail-closed provider behavior. (AGENTS.md:31, c9b3358d43f7)
  • Current main chat gap: Current main gets the Ollama chat response body reader directly and parseNdjsonStream appends decoded chunks into a string buffer without a success-body byte cap. (extensions/ollama/src/stream.ts:1058, c9b3358d43f7)
  • Current main model-pull gap: Current main reads /api/pull through a raw body reader and appends decoded chunks into a string buffer without a success-body byte cap. (extensions/ollama/src/setup.ts:298, c9b3358d43f7)
  • Existing bounded-stream pattern: Current main already has createSseByteGuard with the same cancel-on-overflow semantics in packages/ai, with comments saying Plugin SDK promotion should be a separate dedicated PR. (packages/ai/src/utils/streaming-byte-guard.ts:1, c9b3358d43f7)
  • PR applies the guard before accumulation: The PR wraps the Ollama chat and model-pull body readers with createSseByteGuard before either parser appends bytes into the NDJSON string buffer. (extensions/ollama/src/stream.ts:1191, d54968ad5d95)
  • CI and real-behavior proof status: Live PR checks show Real behavior proof, lint, prod types, test types, dependency guard, and relevant CI shards passing on the current PR head. (d54968ad5d95)

Likely related people:

  • Peter Steinberger: History shows the largest number of current-main commits touching the Ollama stream/setup area, including provider-runtime and provider-stream refactors that shaped these files. (role: recent area contributor; confidence: high; commits: 64bf80d4d50c, 87abcfd6a6b8, be526d642312; files: extensions/ollama/src/stream.ts, extensions/ollama/src/setup.ts)
  • vincentkoc: The PR discussion directly asks vincentkoc to make the Ollama cap/API-boundary call, and recent release/current-main history includes Ollama stream/setup lines at the latest release tag. (role: requested reviewer and recent adjacent contributor; confidence: medium; commits: e085fa1a3ffd; files: extensions/ollama/src/stream.ts, extensions/ollama/src/setup.ts)
  • wangmiao0668000666: They authored this PR and also authored the merged OpenAI ChatGPT Responses bounded streaming PR that established the createSseByteGuard pattern now present on main. (role: bounded-streaming contributor; confidence: high; commits: 5880e0afc4dc; files: src/agents/streaming-byte-guard.ts, src/llm/providers/openai-chatgpt-responses.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
Review history (4 earlier review cycles)
  • reviewed 2026-07-04T05:24:58.486Z sha e4d3bffee80ab81656ebfad44c0fe874e149cbc8 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-08T15:52:21.083Z sha e4d3bffee80ab81656ebfad44c0fe874e149cbc8 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-09T02:47:21.247Z sha 5d5818dfc18573f766638e9c2827d191d41ceaf9 :: needs maintainer review before merge. :: none
  • reviewed 2026-07-09T02:56:55.979Z sha 5d5818dfc18573f766638e9c2827d191d41ceaf9 :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jul 3, 2026
@wangmiao0668000666

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Sibling fix added in commit 89d3d52ff0: extensions/ollama/src/setup.ts:254 (Ollama model-pull NDJSON path) had the same unbounded buffer += decoder.decode(value, { stream: true }) pattern as the chat path already fixed in stream.ts:1045. Both first-party Ollama NDJSON success-body consumers now have the same 16 MiB cap and reader-cancel behavior.

Changes in this re-review:

  • 2 new files in diff (setup.ts +9/-1, setup.test.ts +53)
  • 1 new inline test verifying the bounded read fires for /api/pull with canonical error message
  • 1 signature widening in readOllamaPullChunkWithIdleTimeout (Pick<...,"read"|"cancel">) — guard.cancel() forwards to raw reader, so existing idle-timeout cancel path is unchanged
  • All 135 tests pass (105/105 stream-runtime + 30/30 setup)
  • 0 lint errors, 0 typecheck errors
  • Diff stats: 10 files, +271/-9

@clawsweeper

clawsweeper Bot commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@wangmiao0668000666

Copy link
Copy Markdown
Contributor Author

@vincentkoc ready for your look on this one.

This PR now bounds both first-party Ollama native NDJSON success consumers at 16 MiB:

  • /api/chat (chat / tool-call) — extensions/ollama/src/stream.ts:1192
  • /api/pull (model download) — extensions/ollama/src/setup.ts:256 (added in r2)

Both use the same openclaw/plugin-sdk/stream-reader-with-limit SDK seam (re-export of the existing createSseByteGuard helper from src/agents/streaming-byte-guard.ts).

State:

  • ClawSweeper r2: 🐚 platinum hermit (Proof: 🦞, Patch: 🐚)
  • CI: all green (69 pass, 0 fail)
  • Tests: 135/135 pass (105 stream-runtime + 30 setup)
  • Diff: 10 files, +271/-9
  • Status: 👀 ready for maintainer look

The only P1 left is your call (per ClawSweeper): explicitly accept or reject

  1. the new public SDK subpath openclaw/plugin-sdk/stream-reader-with-limit (mirrors response-limit-runtime shape), and
  2. the 16 MiB fail-closed boundary on Ollama native streams (same canonical cap as fix(anthropic): bound streaming 200 success-body SSE reads at 16 MiB #96701, fix(anthropic): bound streaming 200 success-body SSE reads at 16 MiB (provider path) #96723, fix(openai-chatgpt-responses): bound streaming success-body SSE reads at 16 MiB #96762, fix(runtime/proxy): bound streaming success-body SSE reads at 16 MiB #96768, fix(google-media): bound JSON response reads #96920, fix(google): bound TTS success JSON response reads #96984, fix(google): bound embedding-batch JSON response reads #97535, fix(google-meet): bound Drive document export reads to prevent OOM #97620, fix(google): bound google OAuth fetchWithTimeout arrayBuffer at 16 MiB #97628).

If you would rather not add a new public SDK subpath right now, I can drop the SDK promotion and inline-import createSseByteGuard from ../src/agents/streaming-byte-guard.ts in both Ollama sites — that keeps the bounded-read fix but defers the API surface decision. Just let me know which direction you want.

Thanks!

@wangmiao0668000666
wangmiao0668000666 force-pushed the fix/ollama-ndjson-stream-bound branch from 89d3d52 to e4d3bff Compare July 4, 2026 02:37
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Jul 4, 2026
@wangmiao0668000666

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Just rebased onto latest openclaw/main after this PR went CONFLICTING (d32c4cf canonicalized plugin SDK declarations; a82cff8 / 3047e6c / 5625960 touched ollama setup + stream). All 4 commits applied cleanly. Only docs/.generated/plugin-sdk-api-baseline.sha256 needed an ours-side keep, then re-regenerated via plugin-sdk:sync-exports + plugin-sdk:api:gen + plugin-sdk:surface:check (all green: 342 entrypoints, 10975 exports, 0 forbidden subpaths).

Code itself is unchanged. The rebase only refreshed metadata hashes; extensions/ollama/src/setup.ts, stream.ts, the 4 SDK metadata files, and package.json all preserve the original semantic intent of the diff. Pre-flight on rebased HEAD:

  • node scripts/run-oxlint-shards.mjs --threads=4 → exit 0 (3 shards: core / extensions / scripts)
  • node scripts/run-tsgo.mjs → exit 0
  • node scripts/run-vitest.mjs extensions/ollama/src/stream-runtime.test.ts extensions/ollama/src/setup.test.ts --run → 135/135 passed
  • pnpm plugin-sdk:surface:check → clean

Rating regression observed. History went 🦐 → 🐚 → 🦞 → 🐚. The 🦞 → 🐚 step happened ~7 minutes after my force-push (02:44) with no new comment from ClawSweeper — looks like a pull_request synchronize re-evaluation drifted the rating without an explicit verdict comment. Requesting a fresh review so the latest HEAD (e4d3bffee80a) gets a complete evaluation. If there's a concrete patch-quality blocker I'm missing, please surface it; otherwise expecting r5 to walk back to 🦞 given the code surface did not change.

QA Smoke CI failure is not PR-side. Job failed with smoke-ci exited 1 after [qa-suite] run complete: passed=25 failed=0 total=25 at 02:42:56. The post-test pnpm hook (ELIFECYCLE) exited 1, not the scenarios. Main branch shows the same pattern — last 20 CI runs include 15 cancelled + 2 failure + 3 pending. Reading this as runner contention / CI infra flakiness, not a regression introduced by this PR. Real behavior proof check was also CANCELLED (same window, runner preempted). Both should resolve on next clean CI run.

@clawsweeper

clawsweeper Bot commented Jul 4, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@wangmiao0668000666

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Jul 9, 2026
…16 MiB (v2, no SDK subpath)

Version 2 of openclaw#99585 — removes the Plugin SDK subpath (`openclaw/plugin-sdk/stream-reader-with-limit`) based on ClawSweeper feedback (merge-risk: compatibility).

Changes:
- Bounds Ollama chat (/api/chat) NDJSON success-stream reads at 16 MiB with reader cancellation on overflow
- Bounds Ollama model-pull (/api/pull) NDJSON success-stream reads at 16 MiB with reader cancellation on overflow
- Plugin-local `createSseByteGuard` helper in `extensions/ollama/src/sse-byte-guard.ts` (internal seam, no new SDK subpath)
- Full test coverage: deterministic overflow, negative control, real TCP loopback proof
- No new Plugin SDK entrypoint, no config/env changes, no public API changes

Diff: +249/-4 across 5 files (4 modified + 1 new)
@wangmiao0668000666
wangmiao0668000666 force-pushed the fix/ollama-ndjson-stream-bound branch from 5d5818d to d54968a Compare July 9, 2026 11:43
@openclaw-barnacle openclaw-barnacle Bot removed docs Improvements or additions to documentation scripts Repository scripts labels Jul 9, 2026
@wangmiao0668000666

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

This is a significant v2 change — the PR was rewritten to use a plugin-local seam instead of a new Plugin SDK subpath, addressing the previous merge-risk: 🚨 compatibility concern.

Changes from v1 to v2:

  • Removed src/plugin-sdk/stream-reader-with-limit.ts — no new Plugin SDK subpath
  • Removed all SDK metadata changes (package.json, entrypoints.json, surface-report.mjs, baseline, docs)
  • createSseByteGuard now lives as a plugin-local helper at extensions/ollama/src/sse-byte-guard.ts — a local seam until maintainers approve SDK promotion
  • The Ollama bound itself (chat + model-pull, 16 MiB cap, reader cancellation) is unchanged
  • Full test coverage preserved: deterministic overflow, negative control, real TCP loopback proof

Files now touched:

  • extensions/ollama/src/sse-byte-guard.ts — NEW plugin-local helper (canonical impl at packages/ai/src/utils/streaming-byte-guard.ts)
  • extensions/ollama/src/stream.ts — apply guard to chat NDJSON reader
  • extensions/ollama/src/setup.ts — apply guard to model-pull NDJSON reader
  • extensions/ollama/src/stream-runtime.test.ts — 3 new tests
  • extensions/ollama/src/setup.test.ts — 1 new test

Branch updated: fix/ollama-ndjson-stream-bound now at d54968ad5d (based on 99d82a2f21).

@clawsweeper

clawsweeper Bot commented Jul 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Jul 9, 2026
@wangmiao0668000666

Copy link
Copy Markdown
Contributor Author

Closing this PR to re-prioritize the active queue; the surface is partially covered by merged siblings and a smaller follow-up can reopen the unique part if still needed.

Why closing now:

Supported alternative: if a maintainer confirms the ollama-local 16 MiB bound is still needed on top of the proxy-layer coverage, I will reopen a smaller PR scoped to just the local bound (no SDK surface change) based on the latest main.

What evidence would change this decision: a maintainer asking to keep it open, or proof that main lacks an ollama-local bound on the streaming success body after the proxy layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extensions: ollama merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant