




















@@ -1,10 +1,7 @@
11import type { AuthProfileStore } from "../agents/auth-profiles/types.js";
22import type { OpenClawConfig } from "../config/types.openclaw.js";
334-export type MediaUnderstandingKind =
5-| "audio.transcription"
6-| "video.description"
7-| "image.description";
4+type MediaUnderstandingKind = "audio.transcription" | "video.description" | "image.description";
8596export type MediaUnderstandingCapability = "image" | "audio" | "video";
107@@ -31,7 +28,7 @@ export type MediaUnderstandingOutput = {
3128model?: string;
3229};
333034-export type MediaUnderstandingDecisionOutcome =
31+type MediaUnderstandingDecisionOutcome =
3532| "success"
3633| "failed"
3734| "skipped"
@@ -47,7 +44,7 @@ export type MediaUnderstandingModelDecision = {
4744reason?: string;
4845};
494650-export type MediaUnderstandingAttachmentDecision = {
47+type MediaUnderstandingAttachmentDecision = {
5148attachmentIndex: number;
5249attempts: MediaUnderstandingModelDecision[];
5350chosen?: MediaUnderstandingModelDecision;
@@ -59,12 +56,12 @@ export type MediaUnderstandingDecision = {
5956attachments: MediaUnderstandingAttachmentDecision[];
6057};
615862-export type MediaUnderstandingProviderRequestAuthOverride =
59+type MediaUnderstandingProviderRequestAuthOverride =
6360| { mode: "provider-default" }
6461| { mode: "authorization-bearer"; token: string }
6562| { mode: "header"; headerName: string; value: string; prefix?: string };
666367-export type MediaUnderstandingProviderRequestTlsOverride = {
64+type MediaUnderstandingProviderRequestTlsOverride = {
6865ca?: string;
6966cert?: string;
7067key?: string;
@@ -73,11 +70,11 @@ export type MediaUnderstandingProviderRequestTlsOverride = {
7370insecureSkipVerify?: boolean;
7471};
757276-export type MediaUnderstandingProviderRequestProxyOverride =
73+type MediaUnderstandingProviderRequestProxyOverride =
7774| { mode: "env-proxy"; tls?: MediaUnderstandingProviderRequestTlsOverride }
7875| { mode: "explicit-proxy"; url: string; tls?: MediaUnderstandingProviderRequestTlsOverride };
797680-export type MediaUnderstandingProviderRequestTransportOverrides = {
77+type MediaUnderstandingProviderRequestTransportOverrides = {
8178headers?: Record<string, string>;
8279auth?: MediaUnderstandingProviderRequestAuthOverride;
8380proxy?: MediaUnderstandingProviderRequestProxyOverride;
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。