Files
oc_session/node_modules/@ai-sdk/provider/src/image-model/v2/image-model-v2-call-warning.ts
T

17 lines
455 B
TypeScript

import { ImageModelV2CallOptions } from './image-model-v2-call-options';
/**
* Warning from the model provider for this call. The call will proceed, but e.g.
* some settings might not be supported, which can lead to suboptimal results.
*/
export type ImageModelV2CallWarning =
| {
type: 'unsupported-setting';
setting: keyof ImageModelV2CallOptions;
details?: string;
}
| {
type: 'other';
message: string;
};