mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-05-04 15:34:19 +08:00
(improvement)(launcher)Separate prd and local profiles for langchain4j yaml.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
server:
|
||||
port: 9080
|
||||
compression:
|
||||
enabled: true
|
||||
min-response-size: 1024
|
||||
mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
|
||||
|
||||
spring:
|
||||
profiles:
|
||||
active: local
|
||||
@@ -6,7 +13,6 @@ spring:
|
||||
config:
|
||||
import:
|
||||
- classpath:s2-config.yaml
|
||||
- classpath:langchain4j-config.yaml
|
||||
autoconfigure:
|
||||
exclude:
|
||||
- spring.dev.langchain4j.spring.LangChain4jAutoConfig
|
||||
@@ -17,4 +23,21 @@ spring:
|
||||
- spring.dev.langchain4j.anthropic.spring.AutoConfig
|
||||
|
||||
mybatis:
|
||||
mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml
|
||||
mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml
|
||||
|
||||
logging:
|
||||
level:
|
||||
dev.langchain4j: DEBUG
|
||||
dev.ai4j.openai4j: DEBUG
|
||||
|
||||
swagger:
|
||||
title: 'SuperSonic API Documentation'
|
||||
base:
|
||||
package: com.tencent.supersonic
|
||||
description: 'SuperSonic API Documentation'
|
||||
url: ''
|
||||
contact:
|
||||
name:
|
||||
email:
|
||||
url: ''
|
||||
version: 3.0
|
||||
Reference in New Issue
Block a user