Files
osmedeus/test/testdata/workflows/test-functions.yaml
T
j3ssie 1403d20a4d feat: add LLM step executor with vision and tool support, event workflow system, and inheritance
- Add LLM executor supporting OpenAI vision, tool calling, embeddings, and structured outputs
- Introduce event emitter/receiver workflows with deduplication and filtering (generate_event functions)
- Add workflow extends/override system enabling inheritance chains and step merge modes
- Update function naming to snake_case across all testdata (fileExists→file_exists, etc.)
- Add comprehensive test fixtures for linter, events, CDN, step dependencies, and extends workflows
2026-01-20 18:23:57 +08:00

33 lines
702 B
YAML

name: test-functions
kind: module
description: Test utility functions
tags: test,functions,utility
params:
- name: target
required: true
steps:
- name: create-file
type: bash
command: |
echo "test content" > /tmp/test-{{target}}.txt
echo "test content" > /tmp/test-{{target}}.txt
echo "test content" > /tmp/test-{{target}}.txt
- name: check-file
type: function
function: file_exists("/tmp/test-{{target}}.txt")
exports:
exists: "output"
- name: read-file
type: function
function: read_file("/tmp/test-{{target}}.txt")
exports:
content: "output"
- name: cleanup
type: bash
command: rm -f /tmp/test-{{target}}.txt