Skip to content

Commit

Permalink
Enable maxtokens for CustomOpenAI
Browse files Browse the repository at this point in the history
  • Loading branch information
TFyre committed Feb 22, 2025
1 parent e14c948 commit ed9e7fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ private void providerSettings() {
includeCodeExecutionOutput.setVisible(true);
maxRetriesPane.setVisible(true);
}
if (selectedProvider == GenAIProvider.OPEN_AI) {
if (selectedProvider == GenAIProvider.OPEN_AI || selectedProvider == GenAIProvider.CUSTOM_OPEN_AI) {
organizationIdPane.setVisible(true);
maxTokensPane.setVisible(true);
maxCompletionTokensPane.setVisible(true);
Expand Down

0 comments on commit ed9e7fb

Please sign in to comment.