feat(web): copy original run prompt
This commit is contained in:
@@ -66,6 +66,11 @@ export const EMPTY_OUTPUT_MESSAGE = "No output recorded.";
|
||||
export const EMPTY_TIMELINE_MESSAGE = "No visits recorded.";
|
||||
export const NO_STAGE_DETAILS_MESSAGE = "No details recorded for this node.";
|
||||
|
||||
/** The original run prompt, without display formatting or a fallback source. */
|
||||
export function originalRunPrompt(run) {
|
||||
return typeof run?.input?.prompt === "string" ? run.input.prompt : undefined;
|
||||
}
|
||||
|
||||
/** The stage-pane section titles (Android StageDetailPane constants). */
|
||||
export const STAGE_ARTIFACTS_TITLE = "Artifacts";
|
||||
export const STAGE_SESSION_TITLE = "Session";
|
||||
|
||||
Reference in New Issue
Block a user