mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-12 08:59:02 +08:00
24 lines
681 B
TypeScript
24 lines
681 B
TypeScript
/**
|
|
* Shared Provider Utilities
|
|
*
|
|
* This module exports utilities for working with AI providers
|
|
* that can be shared between main process and renderer process.
|
|
*/
|
|
|
|
// API host formatting
|
|
export type { ApiKeyRotator, ProviderFormatContext } from './format'
|
|
export {
|
|
defaultFormatAzureOpenAIApiHost,
|
|
formatProviderApiHost,
|
|
getBaseUrlForAiSdk,
|
|
simpleKeyRotator
|
|
} from './format'
|
|
|
|
// AI SDK configuration
|
|
export type { AiSdkConfig, AiSdkConfigContext } from './providerConfig'
|
|
export { providerToAiSdkConfig } from './providerConfig'
|
|
|
|
// Provider initialization
|
|
export { initializeSharedProviders, SHARED_PROVIDER_CONFIGS } from './initialization'
|
|
export * from './utils'
|