Repository navigation
Conversation
Preview:
|
|
Review: 1 findings. Submitted 1 actionable inline comment. |
|
Review: 2 findings. Submitted 2 actionable inline comments. The earlier image-replay finding is addressed by the durable snapshot and history-replay changes. |
|
Review: 1 findings. Submitted 1 actionable inline comment. The three previously reported findings are addressed in the current code. |
|
Review: 2 findings. Submitted 2 actionable inline comments. The four previously reported issues are addressed in the current code. |
|
Review: 1 findings. Submitted 1 actionable inline comment. The previously reported replay-memory and image-count issues are addressed in the current code. |
493488f to
a8f03d7
Compare
|
Review: 2 findings. Submitted 1 new actionable inline comment. The existing many-image dimension-limit finding remains unresolved in the current code. |
|
Review: 1 findings. Submitted 1 new actionable inline comment. The previously reported combined-media and many-image issues are addressed. Verified the new finding with an in-memory PNG reproduction and provider documentation. Repository tests were not run because pnpm and dependencies are unavailable. |
|
LGTM! |
Eval resultsVerdict: ⚪ Unchanged. No task moved beyond what 10 runs can tell apart from noise.
Failed checks
|
🔬 Eval runs reviewPerformancePass rates were change-calendar 90% → 100%, chess 70% → 90%, incident-desk 100% → 100%, and worker-logs 100% → 80%; ⚪ VERDICT: NO REGRESSION FROM THIS PRNo meaningful movement is attributable to the diff: the new TriageFailure modes
Tool errors
What to do
|
|
What if instead of extending executeCode, we extend the readFile tool call to support reading images? Then, in executeCode, if the agent receives an image, it can write it into a worktree (using existing APIs), and can read from there. I also kind of think that when the user attaches files to a message, instead of feeding them straight into the LLM, we should drop them into a worktree. Then the user can upload files for purposes other than just having the agent look at them. E.g. you could upload assets for use in the app, etc. |
|
Oh you actually added chat attachment worktrees in #770! |
Summary
executeCodeargument withoutput.image(bytes, mimeType), wherebytesis aUint8ArrayexecuteCodecall in one persisted agent stepThis is intentionally image output rather than arbitrary binary injection into model context. Other binary artifacts should continue to use purpose-built storage or download paths.
Testing
pnpm exec vp run -F @gadgets/workshop-backend buildpnpm exec vitest run __tests__/code-mode-output.test.ts __tests__/agent-retry.test.ts(13 tests)pnpm exec vp lint