Replace websocket flow with SSE support in backend.
Update handlers, services, router, and data conversion logic to support server-sent events and related message pipeline changes. Made-with: Cursor
This commit is contained in:
@@ -36,9 +36,9 @@ database:
|
||||
redis:
|
||||
type: miniredis # miniredis 或 redis
|
||||
redis:
|
||||
host: localhost
|
||||
host: 1Panel-redis-dfmM
|
||||
port: 6379
|
||||
password: ""
|
||||
password: "redis_j8CMza"
|
||||
db: 0
|
||||
miniredis:
|
||||
host: localhost
|
||||
@@ -67,13 +67,13 @@ cache:
|
||||
# S3对象存储配置
|
||||
# 环境变量: APP_S3_ENDPOINT, APP_S3_ACCESS_KEY, APP_S3_SECRET_KEY, APP_S3_BUCKET, APP_S3_DOMAIN
|
||||
s3:
|
||||
endpoint: ""
|
||||
access_key: ""
|
||||
secret_key: ""
|
||||
bucket: ""
|
||||
endpoint: "files.littlelan.cn"
|
||||
access_key: "E6bMcYkQzCldRTrtmhvi"
|
||||
secret_key: "4R9yjmwKNoHphiBkv05Oa8WGEIFbnlZeTLXfSgx3"
|
||||
bucket: "test"
|
||||
use_ssl: true
|
||||
region: us-east-1
|
||||
domain: ""
|
||||
domain: "files.littlelan.cn"
|
||||
# JWT配置
|
||||
# 环境变量: APP_JWT_SECRET
|
||||
jwt:
|
||||
@@ -130,12 +130,12 @@ audit:
|
||||
# Gorse推荐系统配置
|
||||
# 环境变量: APP_GORSE_ADDRESS, APP_GORSE_API_KEY, APP_GORSE_DASHBOARD, APP_GORSE_IMPORT_PASSWORD
|
||||
gorse:
|
||||
enabled: false
|
||||
address: "" # Gorse server地址
|
||||
enabled: true
|
||||
address: "http://111.170.19.33:8088" # Gorse server地址
|
||||
api_key: "" # API密钥
|
||||
dashboard: "" # Gorse dashboard地址
|
||||
import_password: "" # 导入数据密码
|
||||
embedding_api_key: ""
|
||||
import_password: "lanyimin123" # 导入数据密码
|
||||
embedding_api_key: "sk-ZPN5NMPSqEaOGCPfD2LqndZ5Wwmw3DC4CQgzgKhM35fI3RpD"
|
||||
embedding_url: "https://api.littlelan.cn/v1/embeddings"
|
||||
embedding_model: "BAAI/bge-m3"
|
||||
|
||||
@@ -147,7 +147,7 @@ gorse:
|
||||
openai:
|
||||
enabled: true
|
||||
base_url: "https://api.littlelan.cn/"
|
||||
api_key: ""
|
||||
api_key: "sk-y7LOeKsNfzbZWTRSFsTs79jd8WYlezbIVgdVPgMvG4Xz2AlV"
|
||||
moderation_model: "qwen3.5-122b"
|
||||
moderation_max_images_per_request: 1
|
||||
request_timeout: 30
|
||||
@@ -160,12 +160,12 @@ openai:
|
||||
# APP_EMAIL_FROM_ADDRESS, APP_EMAIL_FROM_NAME
|
||||
# APP_EMAIL_USE_TLS, APP_EMAIL_INSECURE_SKIP_VERIFY, APP_EMAIL_TIMEOUT
|
||||
email:
|
||||
enabled: false
|
||||
host: ""
|
||||
port: 587
|
||||
username: ""
|
||||
password: ""
|
||||
from_address: ""
|
||||
enabled: true
|
||||
host: "smtp.exmail.qq.com"
|
||||
port: 465
|
||||
username: "no-reply@qczlit.cn"
|
||||
password: "HbvwwVjRyiWg9gsK"
|
||||
from_address: "no-reply@qczlit.cn"
|
||||
from_name: "Carrot BBS"
|
||||
use_tls: true
|
||||
insecure_skip_verify: false
|
||||
|
||||
Reference in New Issue
Block a user