feat: AI transform executor with Ollama and OpenAI-compatible backend support#276
Merged
Merged
Conversation
5 tasks
Agent-Logs-Url: https://github.com/egohygiene/renderflow/sessions/c1516cb6-d103-4502-b497-ad7f13439310 Co-authored-by: szmyty <14865041+szmyty@users.noreply.github.com>
…plate behavior Agent-Logs-Url: https://github.com/egohygiene/renderflow/sessions/c1516cb6-d103-4502-b497-ad7f13439310 Co-authored-by: szmyty <14865041+szmyty@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement AI transform executor with Ollama/OpenAI support
feat: AI transform executor with Ollama and OpenAI-compatible backend support
Apr 10, 2026
szmyty
approved these changes
Apr 10, 2026
Pull Request Summary by devActivityMetricsAchievements
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds AI-powered transforms as first-class pipeline nodes, enabling use cases like markdown → Fountain screenplay via local or remote LLMs.
New:
AiTransform(src/transforms/ai.rs)AiBackend::Ollama— POSTs to<endpoint>/api/generate(stream: false)AiBackend::OpenAi— POSTs to<endpoint>/v1/chat/completions{input}placeholder substitutionAuthorization: Bearerheader for authenticated APIsartifact_pathto write output to a file after each callExtended YAML schema (
yaml_loader.rs)New fields on
YamlTransformDef:ai,model,prompt,endpoint,api_key,artifact_path. Dispatch priority:ai > plugin > program.Other
Format::Fountainadded to the format graph for screenplay outputureq = { version = "2", features = ["json"] }added for blocking HTTP (no async runtime required)