You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-ai-spring-boot-autoconfigure/src/main/java/org/springframework/ai/autoconfigure/openai/OpenAiAutoConfiguration.java
+18-25Lines changed: 18 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -47,10 +47,6 @@
47
47
*/
48
48
publicclassOpenAiAutoConfiguration {
49
49
50
-
publicstaticfinalStringOPEN_AI_API_KEY_MUST_BE_SET = "OpenAI API key must be set";
51
-
52
-
publicstaticfinalStringOPEN_AI_BASE_URL_MUST_BE_SET = "OpenAI base URL must be set";
53
-
54
50
@Bean
55
51
@ConditionalOnMissingBean
56
52
@ConditionalOnProperty(prefix = OpenAiChatProperties.CONFIG_PREFIX, name = "enabled", havingValue = "true",
@@ -59,16 +55,8 @@ public OpenAiChatClient openAiChatClient(OpenAiConnectionProperties commonProper
0 commit comments