🛟 Updated.
b6e91e6 parent: 9e69a8e added
02-tools/agent.yaml +55 -0 | new file mode 100644 | ||
| @@ -0,0 +1,55 @@ | ||
| 1 | +provider: llmman | |
| 2 | + | |
| 3 | +model: "hf.co/unsloth/Qwen3.5-2B-GGUF:Q4_K_M" | |
| 4 | +# No baseUrl: llmman's defaults apply. For the record: | |
| 5 | +# baseUrl: "http://127.0.0.1:17434/v1" | |
| 6 | +# fallback: "http://host.docker.internal:17434/v1" # tried when baseUrl does not answer | |
| 7 | + | |
| 8 | +yolo: true | |
| 9 | + | |
| 10 | +bashTool: false | |
| 11 | +editTools: false | |
| 12 | +planTool: false | |
| 13 | +askUserTool: false | |
| 14 | + | |
| 15 | +sampling: | |
| 16 | + temperature: 0.6 | |
| 17 | + top_p: 0.95 | |
| 18 | + top_k: 20 | |
| 19 | + | |
| 20 | + parallel_tool_calls: false | |
| 21 | + chat_template_kwargs: | |
| 22 | + enable_thinking: false | |
| 23 | + | |
| 24 | +acp: | |
| 25 | + name: bob | |
| 26 | + title: "Bob" | |
| 27 | + | |
| 28 | +system: | | |
| 29 | + You are a coding agent working in a terminal | |
| 30 | + | |
| 31 | +tools: | |
| 32 | + - name: say_hello | |
| 33 | + description: Greet someone by name. | |
| 34 | + parameters: | |
| 35 | + name: { type: string, description: "The name of the person to greet" } | |
| 36 | + command: ["echo", "👋 Hello, {{name}}!"] | |
| 37 | + | |
| 38 | + - name: current_time | |
| 39 | + description: Give the current date and time of this computer. | |
| 40 | + command: ["date"] | |
| 41 | + | |
| 42 | + - name: count_lines | |
| 43 | + description: Count the lines of a file. | |
| 44 | + parameters: | |
| 45 | + file: { type: string, description: "The file to count, e.g. notes.txt" } | |
| 46 | + command: ["wc", "-l", "{{file}}"] | |
| 47 | + | |
| 48 | + - name: calculate | |
| 49 | + description: Compute an operation on two whole numbers. | |
| 50 | + parameters: | |
| 51 | + a: { type: integer } | |
| 52 | + op: { type: string, enum: ["+", "-", "*", "/"] } | |
| 53 | + b: { type: integer } | |
| 54 | + command: ["expr", "{{a}}", "{{op}}", "{{b}}"] | |
| 55 | + | |
| new file mode 100644 | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | +provider: llmman | ||
| 2 | + | ||
| 3 | +model: "hf.co/unsloth/Qwen3.5-2B-GGUF:Q4_K_M" | ||
| 4 | +# No baseUrl: llmman's defaults apply. For the record: | ||
| 5 | +# baseUrl: "http://127.0.0.1:17434/v1" | ||
| 6 | +# fallback: "http://host.docker.internal:17434/v1" # tried when baseUrl does not answer | ||
| 7 | + | ||
| 8 | +yolo: true | ||
| 9 | + | ||
| 10 | +bashTool: false | ||
| 11 | +editTools: false | ||
| 12 | +planTool: false | ||
| 13 | +askUserTool: false | ||
| 14 | + | ||
| 15 | +sampling: | ||
| 16 | + temperature: 0.6 | ||
| 17 | + top_p: 0.95 | ||
| 18 | + top_k: 20 | ||
| 19 | + | ||
| 20 | + parallel_tool_calls: false | ||
| 21 | + chat_template_kwargs: | ||
| 22 | + enable_thinking: false | ||
| 23 | + | ||
| 24 | +acp: | ||
| 25 | + name: bob | ||
| 26 | + title: "Bob" | ||
| 27 | + | ||
| 28 | +system: | | ||
| 29 | + You are a coding agent working in a terminal | ||
| 30 | + | ||
| 31 | +tools: | ||
| 32 | + - name: say_hello | ||
| 33 | + description: Greet someone by name. | ||
| 34 | + parameters: | ||
| 35 | + name: { type: string, description: "The name of the person to greet" } | ||
| 36 | + command: ["echo", "👋 Hello, {{name}}!"] | ||
| 37 | + | ||
| 38 | + - name: current_time | ||
| 39 | + description: Give the current date and time of this computer. | ||
| 40 | + command: ["date"] | ||
| 41 | + | ||
| 42 | + - name: count_lines | ||
| 43 | + description: Count the lines of a file. | ||
| 44 | + parameters: | ||
| 45 | + file: { type: string, description: "The file to count, e.g. notes.txt" } | ||
| 46 | + command: ["wc", "-l", "{{file}}"] | ||
| 47 | + | ||
| 48 | + - name: calculate | ||
| 49 | + description: Compute an operation on two whole numbers. | ||
| 50 | + parameters: | ||
| 51 | + a: { type: integer } | ||
| 52 | + op: { type: string, enum: ["+", "-", "*", "/"] } | ||
| 53 | + b: { type: integer } | ||
| 54 | + command: ["expr", "{{a}}", "{{op}}", "{{b}}"] | ||
| 55 | + | ||