Add multimodal image inputs to Face turns

This commit is contained in:
Meta Vens 2026-05-24 03:28:40 +01:00
commit c430e709fd
12 changed files with 281 additions and 16 deletions

View file

@ -78,6 +78,28 @@ export interface SourceMessage {
content: string;
timestamp: string;
isBot?: boolean;
attachments?: SourceMessageAttachment[];
}
export interface SourceMessageAttachment {
id?: string;
filename?: string;
contentType?: string;
url?: string;
proxyUrl?: string;
size?: number;
width?: number;
height?: number;
localPath?: string;
kind: "image" | "other";
}
export interface PromptImageAttachment {
messageId: string;
authorName: string;
filename?: string;
contentType?: string;
localPath: string;
}
export interface RetrievalResult {
@ -434,6 +456,7 @@ export interface ContextBundle {
actor: Actor;
guildContext: GuildContext;
recentMessages: SourceMessage[];
imageAttachments?: PromptImageAttachment[];
retrieval: RetrievalResult[];
interactionMemory?: InteractionMemoryProfile;
situationalSocialRead?: SituationalSocialRead;