Skip to content

Commit 17bc359

Browse files
authored
Merge pull request #1209 from narengogi/fix/azure-foundry-fix-mapping
fix max_completion_tokens mapping for azure foundry
2 parents 2ef022d + 0582937 commit 17bc359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/azure-ai-inference/chatComplete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const AzureAIInferenceChatCompleteConfig: ProviderConfig = {
2828
min: 0,
2929
},
3030
max_completion_tokens: {
31-
param: 'max_tokens',
31+
param: 'max_completion_tokens',
3232
default: 100,
3333
min: 0,
3434
},

0 commit comments

Comments
 (0)