We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c77c8c8 commit 297416bCopy full SHA for 297416b
packages/cli/src/cli/localizer/explicit.ts
@@ -95,7 +95,7 @@ export default function createExplicitLocalizer(
95
}
96
97
function createAiSdkLocalizer(params: {
98
- factory: (params: { apiKey?: string; baseUrl?: string }) => LanguageModel;
+ factory: (params: { apiKey?: string; baseURL?: string }) => LanguageModel;
99
id: NonNullable<I18nConfig["provider"]>["id"];
100
prompt: string;
101
apiKeyName?: string;
@@ -137,7 +137,7 @@ function createAiSdkLocalizer(params: {
137
138
139
const model = params.factory(
140
- skipAuth ? {} : { apiKey, baseUrl: params.baseUrl },
+ skipAuth ? {} : { apiKey, baseURL: params.baseUrl },
141
);
142
143
return {
0 commit comments