feat: enhance provider functionality with base URL normalization and API protocol support; add tests for provider creation
This commit is contained in:
@@ -181,6 +181,8 @@ export const PROVIDER_TYPE_INFO: ProviderTypeInfo[] = [
|
||||
requiresApiKey: false,
|
||||
isOAuth: true,
|
||||
supportsApiKey: true,
|
||||
defaultBaseUrl: 'https://api.minimaxi.com/v1',
|
||||
apiProtocol: 'openai-completions',
|
||||
defaultModelId: 'MiniMax-M2.7',
|
||||
showModelId: true,
|
||||
showModelIdInDevModeOnly: true,
|
||||
@@ -235,6 +237,8 @@ export const PROVIDER_TYPE_INFO: ProviderTypeInfo[] = [
|
||||
requiresApiKey: false,
|
||||
isOAuth: true,
|
||||
supportsApiKey: true,
|
||||
defaultBaseUrl: 'https://api.minimax.io/v1',
|
||||
apiProtocol: 'openai-completions',
|
||||
defaultModelId: 'MiniMax-M2.7',
|
||||
showModelId: true,
|
||||
showModelIdInDevModeOnly: true,
|
||||
|
||||
Reference in New Issue
Block a user