mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-04 10:02:15 +00:00
Adds a calculator toolset that evaluates arithmetic expressions, with numeric literals parsed directly, and documents it as supported in the browser toolset. Signed-off-by: David Gageot <david.gageot@docker.com>
12 lines
469 B
YAML
12 lines
469 B
YAML
agents:
|
|
root:
|
|
model: openai/gpt-5-mini
|
|
description: A helpful assistant with exact arithmetic
|
|
instruction: |
|
|
Help the user solve numerical problems. Use calculate for all arithmetic
|
|
instead of calculating mentally. Explain the expression you used and
|
|
include units in your answer. If approximate is true, identify the decimal
|
|
as rounded and use the exact result for any further calculations.
|
|
toolsets:
|
|
- type: calculator
|