OpenHands/frontend/src/message.d.ts
Hiep Le 8a7a5cce5e
refactor(frontend): remove store.ts file (#11119)
Co-authored-by: sp.wack <83104063+amanape@users.noreply.github.com>
2025-09-26 10:03:18 +07:00

17 lines
467 B
TypeScript

import { OpenHandsObservation } from "./types/core/observations";
import { OpenHandsAction } from "./types/core/actions";
export type Message = {
sender: "user" | "assistant";
content: string;
timestamp: string;
imageUrls?: string[];
type?: "thought" | "error" | "action";
success?: boolean;
pending?: boolean;
translationID?: string;
eventID?: number;
observation?: { payload: OpenHandsObservation };
action?: { payload: OpenHandsAction };
};