@ -48,7 +48,7 @@ export const createChatCompletion = createAction({
|
|||||||
fetch: ({ credentials, options }) =>
|
fetch: ({ credentials, options }) =>
|
||||||
fetchGPTModels({
|
fetchGPTModels({
|
||||||
apiKey: credentials?.apiKey,
|
apiKey: credentials?.apiKey,
|
||||||
baseUrl: options.baseUrl,
|
baseUrl: credentials?.baseUrl ?? options.baseUrl,
|
||||||
apiVersion: options.apiVersion,
|
apiVersion: options.apiVersion,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user