mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 12:03:23 +00:00
fix(coding-agent): add tool promptGuidelines support fixes #1720
This commit is contained in:
parent
bc2fa8d6d0
commit
8d4a49487a
9 changed files with 96 additions and 10 deletions
|
|
@ -35,6 +35,7 @@ export default function dynamicToolsExtension(pi: ExtensionAPI) {
|
|||
label,
|
||||
description: `Echo a message with prefix: ${prefix}`,
|
||||
promptSnippet: `Echo back user-provided text with ${prefix.trim()} prefix`,
|
||||
promptGuidelines: ["Use this tool when the user asks for exact echo output."],
|
||||
parameters: ECHO_PARAMS,
|
||||
async execute(_toolCallId, params) {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue