mirror of
https://github.com/j3ssie/osmedeus.git
synced 2026-08-22 15:42:27 +02:00
- 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
33 lines
702 B
YAML
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
|