fix: ensure parallel tool calls dont double load AGENTS.md
This commit is contained in:
parent
d76e1448f0
commit
558590712d
1 changed files with 38 additions and 5 deletions
|
|
@ -60,7 +60,7 @@ export const ReadTool = Tool.define("read", {
|
|||
throw new Error(`File not found: ${filepath}`)
|
||||
}
|
||||
|
||||
const instructions = await InstructionPrompt.resolve(ctx.messages, filepath)
|
||||
const instructions = await InstructionPrompt.resolve(ctx.messages, filepath, ctx.messageID)
|
||||
|
||||
// Exclude SVG (XML-based) and vnd.fastbidsheet (.fbs extension, commonly FlatBuffers schema files)
|
||||
const isImage =
|
||||
|
|
|
|||
Loading…
Reference in a new issue