Files
osmedeus/test/testdata/workflows/agent-and-llm/test-agent-sdk.yaml
T
j3ssie 0269cf4e26 feat: update Next.js build assets and add cloud setup E2E tests
- Update Next.js generated chunk hashes and build IDs reflecting latest dashboard build
- Update CSS stylesheet references in workflow upload page metadata
- Add comprehensive cloud setup E2E test suite (cloud_setup_test.go) with SSH password/key auth, post-command variable expansion, and Ansible integration
- Fix API priority levels to include 'medium' priority in test coverage
- Add agent-sdk test workflows (minimal, config, codex, multi-agent, session variants)
- Update E2E test utilities with runCLIInBase helper for multi-step cloud config tests
- Fix stderr/stdout capture in dependencies_target_types_test assertions
2026-04-04 13:57:34 +08:00

28 lines
684 B
YAML

kind: module
name: test-agent-sdk
description: Test agent-sdk step with go-agent-agnostic library
tags: test,agent-sdk
params:
- name: target
required: true
default: example.com
steps:
# Basic agent-sdk step with built-in agent
- name: sdk-basic
type: agent-sdk
log: "Running SDK agent for {{Target}}"
agent: claude-code
messages:
- role: user
content: "List the files in the current directory and summarize the results."
exports:
sdk_result: "{{sdk_output}}"
# Use SDK output in a subsequent bash step
- name: use-sdk-output
type: bash
log: "Using SDK agent output"
command: echo "Agent said - {{sdk_result}}"