Spaces:
Build error
Build error
| import { PayloadAction } from "@reduxjs/toolkit"; | |
| 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?: PayloadAction<OpenHandsObservation>; | |
| action?: PayloadAction<OpenHandsAction>; | |
| }; | |