Skip to content

Commit 9889deb

Browse files
authored
bug(be): tool bug fix (#34)
1 parent e89c227 commit 9889deb

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/main/kotlin/com/back/koreaTravelGuide/domain/ai/aiChat/tool/WeatherTool.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class WeatherTool(
3737
// @ToolParam(description = "중기예보 regId 배열 (예: [\"11B10101\", \"11H20301\"]).", required = true) regionCodes: List<String>,
3838
@ToolParam(description = "발표 시각 (YYYYMMDDHHMM). 미지정 시 최근 발표시각 사용.", required = false) baseTime: String?,
3939
// @ToolParam(description = "확인할 일 수 offset 목록 (4~10). 비워 두면 4~10일 모두 반환.", required = false) days: List<Int>?,
40-
): TemperatureAndLandForecastDto? {
40+
): List<TemperatureAndLandForecastDto>? {
4141
return weatherServiceCore.getTemperatureAndLandForecast(
4242
location = location,
4343
regionCode = regionCode,

src/main/resources/application.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ springdoc:
7676
# Weather API 설정
7777
weather:
7878
api:
79-
key: ${WEATHER_API_KEY:6f5c5689b976ae29611f2b2e1a024430f0fd31383ecb502104a250954a2b916e}
79+
key: ${WEATHER_API_KEY}
8080
base-url: http://apis.data.go.kr/1360000/MidFcstInfoService
8181

8282

@@ -107,4 +107,8 @@ management:
107107
include: health,info,metrics,env,beans
108108
endpoint:
109109
health:
110-
show-details: always
110+
show-details: always
111+
112+
# JWT 설정
113+
jwt:
114+
secret-key: ${CUSTOM__JWT__SECRET_KEY}

0 commit comments

Comments
 (0)