- 新增 BaiLianModelService 接口及其实现类 BaiLianModelServiceImpl- 添加与阿里云 DashScope API 交互的适配器 DashScopeAdapter - 新增百炼提供商 BaiLianProvider - 更新 ChatController 以支持流式聊天- 添加必要的配置类和属性文件
25 lines
694 B
Plaintext
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)
|
|
|
|
}
|