-
Notifications
You must be signed in to change notification settings - Fork 275
Closed
Labels
kind/bugSomething isn't workingSomething isn't working
Description
If I add this to the toolsets:
greetings:
description: A simple script that prints a greeting message with a parameter.
cmd: echo "🍺 Greetings, $name! 🤓"
args:
name:
description: "The name of the person to greet"
So this is my new toolsets:
toolsets:
- type: filesystem
instruction: |
You have access to filesystem tools to read, edit, and write files. Use these tools for all file operations.
- read: Read file contents
- edit: Make surgical edits to files (find exact text and replace)
- write: Create or overwrite files
- type: shell
instruction: |
You can execute bash commands to explore the filesystem and gather information.
Use this for tasks like listing files, searching with grep, or finding files with find.
- bash: Execute bash commands (ls, grep, find, etc.)
- type: script
shell:
say_hello:
description: A simple script that prints a greeting message.
cmd: echo "👋 Hello, World! 😉"
say_hey:
description: A simple script that prints a greeting message.
cmd: echo "🎉 Hey there! 🤓"
greetings:
description: A simple script that prints a greeting message with a parameter.
cmd: echo "🍺 Greetings, $name! 🤓"
args:
name:
description: "The name of the person to greet"I'm using the DMR provider, and did the test with models with JSON output support:
- huggingface.co/menlo/jan-nano-128k-gguf:Q4_K_M
- huggingface.co/unsloth/qwen3-8b-gguf:Q4_K_M
cagent version: 1.27.0
I get this error with any prompt:
all models failed: error receiving from stream: POST "http://model-runner.docker.internal/engines/v1/chat/completions": 400 Bad Request
{"code":400,"message":"JSON schema conversion failed:\nUnrecognized schema: {\"description\":\"The name of the person to greet\"}\nUnrecognized schema:
{\"description\":\"The name of the person to greet\"}","type":"invalid_request_error"}
If I remove the greetings tool, all is ok
it seems there is an issue with the arguments of the command
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working