Prepare requests with captured conversation history

This commit is contained in:
2026-11-14 01:16:38 +00:00
parent fcd0485340
commit 26530808e0
10 changed files with 136 additions and 3 deletions

View File

@@ -60,6 +60,8 @@ type CacheControl struct {
// RunRequest represents a request to generate a single artifact.
type RunRequest struct {
CaptureExchange bool
ContinueFrom *Exchange
PromptID string
ProfileID string
SessionID string
@@ -98,6 +100,7 @@ type RunResult struct {
// PreparedRun contains pre-LLM execution state from the prepare/render phase.
// It must never include resolved API key values, model output, or validation data.
type PreparedRun struct {
ParentRunID string
PromptID string
PromptHash string
SelectedProfileID string