The injected prompt-runner seam. The production binding wraps
@memberjunction/ai-prompts' AIPromptRunner.ExecutePrompt; unit tests supply
a fake so the vision-LLM step assembles end-to-end WITHOUT a live model.
The contract is deliberately narrowed to the single method the vision step
needs, so the engine does not take a hard dependency on the (heavy) concrete
runner — only on the real AIPromptParams / AIPromptRunResult shapes.
Execute a (multimodal) prompt and return its result. Mirrors
AIPromptRunner.ExecutePrompt's signature so the production binding is a
direct passthrough.
The injected prompt-runner seam. The production binding wraps
@memberjunction/ai-prompts'AIPromptRunner.ExecutePrompt; unit tests supply a fake so the vision-LLM step assembles end-to-end WITHOUT a live model.The contract is deliberately narrowed to the single method the vision step needs, so the engine does not take a hard dependency on the (heavy) concrete runner — only on the real
AIPromptParams/AIPromptRunResultshapes.