File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/kotlin/com/back/koreaTravelGuide/common/config Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11package com.back.koreaTravelGuide.common.config
22
3+ import com.back.koreaTravelGuide.domain.ai.aiChat.tool.GuideFinderTool
34import com.back.koreaTravelGuide.domain.ai.aiChat.tool.TourTool
45import com.back.koreaTravelGuide.domain.ai.aiChat.tool.WeatherTool
56import org.springframework.ai.chat.client.ChatClient
@@ -38,10 +39,11 @@ class AiConfig {
3839 chatMemory : ChatMemory ,
3940 weatherTool : WeatherTool ,
4041 tourTool : TourTool ,
42+ guideFinderTool : GuideFinderTool ,
4143 ): ChatClient {
4244 return ChatClient .builder(chatModel)
4345 .defaultAdvisors(MessageChatMemoryAdvisor .builder(chatMemory).build())
44- .defaultTools(weatherTool, tourTool)
46+ .defaultTools(weatherTool, tourTool, guideFinderTool )
4547 .build()
4648 }
4749
You can’t perform that action at this time.
0 commit comments