Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit d50f825

Browse files
fix: pass model info to ReadTool to enable image support check (anomalyco#4473)
Co-authored-by: GitHub Action <action@github.com>
1 parent 47bfae5 commit d50f825

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/opencode/src/session/prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ export namespace SessionPrompt {
899899
abort: new AbortController().signal,
900900
agent: input.agent!,
901901
messageID: info.id,
902-
extra: { bypassCwdCheck: true },
902+
extra: { bypassCwdCheck: true, ...info.model },
903903
metadata: async () => {},
904904
})
905905
pieces.push(

0 commit comments

Comments
 (0)