!850 增加snail-ai集成
* 修复冲突 * 1、修改使用Spring sse方式 * 恢复默认配置 * 恢复默认端口 * 菜单sql * 配置还原 * 修改数据库配置信息 * snail-ai测试版本 * 暂存修改
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
package org.dromara.common.ai.config;
|
||||
|
||||
import com.aizuda.snail.ai.agent.starter.EnableSnailAiAgent;
|
||||
import com.aizuda.snail.ai.openapi.client.starter.EnableSnailAiOpenApi;
|
||||
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
|
||||
/**
|
||||
* Snail AI 自动配置
|
||||
*/
|
||||
@AutoConfiguration
|
||||
@ConditionalOnProperty(prefix = "snail-ai", name = "enabled", havingValue = "true")
|
||||
@EnableSnailAiAgent
|
||||
@EnableSnailAiOpenApi
|
||||
public class SnailAiConfig {
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
org.dromara.common.ai.config.SnailAiConfig
|
||||
Reference in New Issue
Block a user