Skip to content
0

katanakit-js / AiMessage

Type Alias: AiMessage ​

ts
type AiMessage = z.infer<typeof AiMessageSchema>;

Defined in: src/types/index.ts:833

A chat message. tool_calls and tool_call_id use snake_case on purpose: they mirror the OpenAI-compatible protocol so messages pass through unchanged.

Released under the MIT License.