fix: pass model info to ReadTool to enable image support check (#4473)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
shuv 2025-11-18 15:20:03 -08:00 committed by GitHub
parent 47bfae52c0
commit d50f825c6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -899,7 +899,7 @@ export namespace SessionPrompt {
abort: new AbortController().signal,
agent: input.agent!,
messageID: info.id,
extra: { bypassCwdCheck: true },
extra: { bypassCwdCheck: true, ...info.model },
metadata: async () => {},
})
pieces.push(