use action.text for input actions in workflow timeline, instead of action.response (#3709)

This commit is contained in:
Jonathan Dobson
2025-10-14 16:01:59 -04:00
committed by GitHub
parent db45c0c8ce
commit 8f15880a6d
2 changed files with 5 additions and 1 deletions

View File

@@ -394,6 +394,7 @@ export type ActionsApiResponse = {
intention: string | null; intention: string | null;
response: string | null; response: string | null;
created_by: string | null; created_by: string | null;
text: string | null;
}; };
export type TaskV2 = { export type TaskV2 = {

View File

@@ -87,7 +87,10 @@ function ActionCard({ action, onClick, active, index }: Props) {
<> <>
<Separator /> <Separator />
<div className="text-xs text-slate-400"> <div className="text-xs text-slate-400">
Input: {action.response} Input:{" "}
{action.action_type === "input_text"
? action.text ?? action.response
: action.response}
</div> </div>
</> </>
)} )}