mirror of
https://github.com/kennethnym/freya
synced 2026-07-04 15:11:15 +01:00
chore: save wip changes
This commit is contained in:
@@ -152,6 +152,14 @@ export const GenericObjectPayload = type("Record<string, unknown>")
|
||||
/** Fallback payload shape for tool calls, tool results, and system notes. */
|
||||
export type GenericObjectPayload = typeof GenericObjectPayload.infer
|
||||
|
||||
export const ConversationEntryPayload = type.or(
|
||||
UserMessagePayload,
|
||||
AssistantMessagePayload,
|
||||
AttachmentPayload,
|
||||
ContextSummaryPayload,
|
||||
GenericObjectPayload,
|
||||
)
|
||||
|
||||
/** Union of payload shapes that can be stored on a conversation entry. */
|
||||
export type ConversationEntryPayload =
|
||||
| UserMessagePayload
|
||||
|
||||
Reference in New Issue
Block a user