@sap-ai-sdk/orchestration
Version:
SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.
29 lines • 696 B
TypeScript
import type { ModuleResults } from './module-results.js';
/**
* Representation of the 'Error' schema.
*/
export type Error = {
/**
* @example "d4a67ea1-2bf9-4df7-8105-d48203ccff76"
*/
request_id: string;
/**
* @example 400
*/
code: number;
/**
* @example "Model name must be one of ['gpt-4o-mini', ...]"
*/
message: string;
/**
* Where the error occurred
* @example "LLM Module"
*/
location: string;
intermediate_results?: ModuleResults;
/**
* HTTP headers returned from the failed request attempt
*/
headers?: Record<string, string>;
} & Record<string, any>;
//# sourceMappingURL=error.d.ts.map