Files
cleveragents-core/tests/fixtures/error_invalid_json.yaml
T

25 lines
487 B
YAML

# Configuration that triggers JSON decode errors for testing error verbosity
agents:
json_tool_agent:
type: tool
config:
tools:
- name: json_tool
code: |
result = f"<<TOOL:another_tool:{{invalid json}}>> completed"
routes:
main:
type: stream
stream_type: cold
operators:
- type: map
params:
agent: json_tool_agent
publications:
- __output__
merges:
- sources: [__input__]
target: main