Manta Developers
GitHub
Menu

@manta-eu/client/shared/index

Reference for @manta-eu/client/shared/index as it is on main.

Type Aliases

AssistantResponseState

AssistantResponseState = "in-progress" | "finished" | "failed" | "aborted"


ChatUIMessage

ChatUIMessage = UIMessage<{ createdAt: string; datastoreId?: string; finishReason?: string; isTask?: boolean; model?: OperatorAllowedModel; pageContext?: PageContext; responseState?: AssistantResponseState; totalTokens?: number; traceId?: string; userId?: string; }>

Variables

APPROVAL

const APPROVAL: object

Type Declaration

NO

readonly NO: "No, denied." = "No, denied."

YES

readonly YES: "Yes, confirmed." = "Yes, confirmed."


newChatPath

const newChatPath: "/chat" = "/chat"

A blank chat, which / stops being once an app gives its datastores a home page.

Functions

chatIdToPath()

chatIdToPath(id): string

Parameters

id

string

Returns

string