Skip to content

Commit

Permalink
Merge pull request #81 from TFyre/maxtokens
Browse files Browse the repository at this point in the history
Enable maxtokens for CustomOpenAI
  • Loading branch information
jGauravGupta authored Feb 22, 2025
2 parents ee30c24 + ed9e7fb commit e2aaa3b
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 e2aaa3b

Please sign in to comment.