mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 08:00:59 +00:00
fix(mom): clarify attach tool only works with /workspace/ files
This commit is contained in:
parent
488f080883
commit
029a04c43b
1 changed files with 2 additions and 1 deletions
|
|
@ -18,7 +18,8 @@ const attachSchema = Type.Object({
|
||||||
export const attachTool: AgentTool<typeof attachSchema> = {
|
export const attachTool: AgentTool<typeof attachSchema> = {
|
||||||
name: "attach",
|
name: "attach",
|
||||||
label: "attach",
|
label: "attach",
|
||||||
description: "Attach a file to your response. Use this to share files, images, or documents with the user.",
|
description:
|
||||||
|
"Attach a file to your response. Use this to share files, images, or documents with the user. Only files from /workspace/ can be attached.",
|
||||||
parameters: attachSchema,
|
parameters: attachSchema,
|
||||||
execute: async (
|
execute: async (
|
||||||
_toolCallId: string,
|
_toolCallId: string,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue