API reference: @salmonui/chat/inline-assist
InlineAssistMessageinterface
import type { InlineAssistMessage } from '@salmonui/chat/inline-assist';interface InlineAssistMessage {
readonly id: string;
readonly prompt: string;
readonly command?: string;
readonly response: string;
readonly status: 'done' | 'aborted' | 'error';
}
One prompt and its response.
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; | |
prompt | readonly prompt: string; | |
commandoptional | readonly command?: string; | Id of the command that produced the prompt. |
response | readonly response: string; | |
status | readonly status: 'done' | 'aborted' | 'error'; |
|