@copilotkit/runtime
Version:
<img src="https://github.com/user-attachments/assets/0a6b64d9-e193-4940-a3f6-60334ac34084" alt="banner" style="border-radius: 12px; border: 2px solid #d6d4fa;" />
14 lines (13 loc) • 519 B
text/typescript
//#region src/service-adapters/shared/sdk-client-utils.d.ts
/**
* SDK clients (OpenAI, Anthropic, Groq) store constructor options like
* `defaultHeaders` and `fetch` in a private/protected `_options` field
* with no public accessor. This extracts them with a narrow type assertion.
*/
declare function getSdkClientOptions(client: object): {
defaultHeaders?: Record<string, string>;
fetch?: typeof globalThis.fetch;
};
//#endregion
export { getSdkClientOptions };
//# sourceMappingURL=sdk-client-utils.d.cts.map