feat(ai): support image and text file attachments

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-08-19 21:17:07 +08:00
1 parent 5e9ac2876b
commit 58d9b48808
21 files changed
+1754 -72

No files matched your search

+5
View File
@@ -368,6 +368,11 @@ export interface DriverInstallProgress {
export interface AiMessage {
role: "user" | "assistant" | "system";
content: string;
/** Transient images for this message. Persisted conversation history intentionally omits them. */
images?: Array<{
mediaType: string;
data: string;
}>;
}
export interface AiTaskContract {