forked from cleveragents/cleveragents-core
26 lines
500 B
YAML
26 lines
500 B
YAML
# Configuration that triggers tool execution errors for testing error verbosity
|
|
agents:
|
|
error_agent:
|
|
type: tool
|
|
config:
|
|
tools:
|
|
- name: failing_tool
|
|
code: |
|
|
# This will trigger a NameError
|
|
result = undefined_variable + 1
|
|
|
|
routes:
|
|
main:
|
|
type: stream
|
|
stream_type: cold
|
|
operators:
|
|
- type: map
|
|
params:
|
|
agent: error_agent
|
|
publications:
|
|
- __output__
|
|
|
|
merges:
|
|
- sources: [__input__]
|
|
target: main
|