shitton of the ai changes

This commit is contained in:
2026-05-01 04:54:11 +03:00
parent d95c37a322
commit 8cff086a8e
194 changed files with 29409 additions and 8841 deletions
+19
View File
@@ -0,0 +1,19 @@
import type {
ResponseInputMessageContentList,
ResponseOutputMessage,
} from "openai/resources/responses/responses";
type OpenAIInputChatMessage = {
type: "message";
role: "system" | "user";
content: string | ResponseInputMessageContentList;
};
type OpenAIOutputChatMessage = {
type: "message";
role: "assistant";
content: ResponseOutputMessage["content"];
phase?: ResponseOutputMessage["phase"];
} & Pick<ResponseOutputMessage, "id" | "status">;
export type OpenAIChatMessage = OpenAIInputChatMessage | OpenAIOutputChatMessage;