|
@@ -145,7 +145,7 @@ public class CrmCustomerAiTagUtil {
|
|
|
ChatService chatService = SpringUtils.getBean(ChatService.class);
|
|
ChatService chatService = SpringUtils.getBean(ChatService.class);
|
|
|
AiHostProper aiHost = SpringUtils.getBean(AiHostProper.class);
|
|
AiHostProper aiHost = SpringUtils.getBean(AiHostProper.class);
|
|
|
|
|
|
|
|
- return chatService.initiatingTakeChat(param, aiHost.getAiApi(), appKey);
|
|
|
|
|
|
|
+ return chatService.initiatingTakeChat(param, aiHost.getAiApiV2(), appKey);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
throw new RuntimeException("AI服务调用失败", e);
|
|
throw new RuntimeException("AI服务调用失败", e);
|
|
|
}
|
|
}
|