gewuyou 05a2a78dfd feat(impl): 添加百炼模型服务实现
- 新增 BaiLianModelService 接口及其实现类 BaiLianModelServiceImpl- 添加与阿里云 DashScope API 交互的适配器 DashScopeAdapter
- 新增百炼提供商 BaiLianProvider
- 更新 ChatController 以支持流式聊天- 添加必要的配置类和属性文件
2025-04-27 17:08:12 +08:00

25 lines
694 B
Plaintext

extra {
// 开启springboot
setProperty(ProjectFlags.USE_SPRING_BOOT, true)
setProperty(ProjectFlags.USE_SPRING_CLOUD_BOM,true)
}
dependencies {
val libs = rootProject.libs
// Nacos 服务发现和配置
implementation(libs.springCloudStarter.alibaba.nacos.discovery)
// WebClient 和 Spring Cloud LoadBalancer
implementation(libs.springBootStarter.webflux)
implementation(libs.springCloudStarter.loadbalancer)
implementation(project(Modules.Core.SPI))
// Kotlin Coroutines
implementation(libs.kotlinx.coruntes.reactor)
implementation(libs.forgeBoot.webmvc.version.springBootStarter)
implementation(libs.forgeBoot.core.extension)
}