Skip to content

Commit

Permalink
Change the name of the AzureOpenAiTokenizer Bean (#45)
Browse files Browse the repository at this point in the history
Fix langchain4j/langchain4j#1867

The Bean name is by default the method name, so by changing the method
name we shouldn't have a clash anymore with openAiTokenizer. Also, this
name makes more sense.
  • Loading branch information
jdubois authored Oct 4, 2024
1 parent 251cc24 commit 6311727
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ AzureOpenAiImageModel openAiImageModel(Properties properties) {

@Bean
@ConditionalOnMissingBean
AzureOpenAiTokenizer openAiTokenizer() {
AzureOpenAiTokenizer azureOpenAiTokenizer() {
return new AzureOpenAiTokenizer();
}
}

0 comments on commit 6311727

Please sign in to comment.