fix: put empty string if there's no observation on web

pull/16/head
hanchchch 1 year ago
parent e038e2b445
commit e0909d4233

@ -152,10 +152,10 @@ const submit = async () => {
w.innerHTML = createActionCard(
info.index,
info.action,
escapeHtml(info.action_input),
escapeHtml(info.action_input || ""),
info.what_i_did,
info.plan,
escapeHtml(info.observation)
escapeHtml(info.observation || "")
);
actions.appendChild(w);
};

Loading…
Cancel
Save