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: community/tool-calls/spring-ai-alibaba-starter-tool-calling-alitranslate/src/main/java/com/alibaba/cloud/ai/toolcalling/alitranslate/AliTranslateService.java
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,6 @@ public class AliTranslateService
Copy file name to clipboardExpand all lines: community/tool-calls/spring-ai-alibaba-starter-tool-calling-baidumap/src/main/java/com/alibaba/cloud/ai/toolcalling/baidumap/BaiDuMapTools.java
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -43,10 +43,6 @@ public BaiDuMapTools(BaiDuMapProperties baiDuMapProperties, WebClientTool webCli
43
43
this.baiDuMapProperties = baiDuMapProperties;
44
44
this.webClientTool = webClientTool;
45
45
this.jsonParseTool = jsonParseTool;
46
-
47
-
if (Objects.isNull(baiDuMapProperties.getApiKey())) {
48
-
thrownewRuntimeException("Please configure your BaiDuMap API key in the application.yml file.");
49
-
}
50
46
}
51
47
52
48
// Used to retrieve specific property values from JSON.
@@ -67,6 +63,9 @@ public record Region(Integer status, List<District> districts) {
0 commit comments