Files
OpenHands/frontend/src/message.d.ts
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 };
};