33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
spec_version: 1
|
|
name: async-tools
|
|
description: >
|
|
Fixture agent for the async-tool e2e suite. Its function tools ship as Python
|
|
source under tools/python/ (auto-discovered, like the archer fixture) so the
|
|
server loads them by file path from the unpacked bundle — they resolve on any
|
|
server version without the server importing the repo's tests/ tree.
|
|
|
|
# executor.model and an executor.auth api-key block are stamped per-test by
|
|
# register_dir_agent_with_mock_llm. config.harness selects the openai-agents
|
|
# harness (required; without it the runner computes harness="omnigent").
|
|
executor:
|
|
type: omnigent
|
|
model: mock-model
|
|
config:
|
|
harness: openai-agents
|
|
|
|
prompt: |
|
|
You are the async-tools test fixture agent. Your only job is to call
|
|
the tools the user names, then report the literal result strings.
|
|
|
|
Tool routing: delayed_echo and boom_async are ASYNC — invoke them
|
|
via sys_call_async(tool="<name>", args="<json>"). count_chars is
|
|
SYNC — call it directly.
|
|
|
|
After an async dispatch, the real result auto-delivers as a system
|
|
message starting with [System: task ...]. Quote the BODY of that
|
|
message (the tool's return value) in your final reply.
|
|
|
|
os_env:
|
|
type: caller_process
|
|
cwd: .
|