mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* Fix micro agents definitions * Add tests for micro agents * Add to CI * Revert "Add to CI" This reverts commit 94f3b4e7c8408a1b0267f3847cbaefdcd995db05. * Remove test artifacts for ManagerAgent --------- Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
26 lines
619 B
YAML
26 lines
619 B
YAML
name: MathAgent
|
|
description: "Solves simple and complex math problems using python"
|
|
generates: Action
|
|
container: python:3.12.3-bookworm
|
|
inputs:
|
|
task: string
|
|
outputs:
|
|
answer: string
|
|
examples:
|
|
- inputs:
|
|
task: "What is 2 + 2?"
|
|
outputs:
|
|
answer: "4"
|
|
- inputs:
|
|
task: "What is the area of a circle with radius 7.324 inches?"
|
|
output:
|
|
answer: "168.518 square inches"
|
|
- inputs:
|
|
task: "What day of the week is 2099-01-01?"
|
|
outputs:
|
|
answer: "Saturday"
|
|
- inputs:
|
|
task: "What is the integral of sin(x^2) evaluated from -1 to 1?"
|
|
outputs:
|
|
answer: "0.603848"
|