This commit is contained in:
aaron 2025-05-30 11:07:06 +08:00
parent 03b0afafed
commit 4027f68dca
2 changed files with 3 additions and 1 deletions

View File

@ -65,6 +65,8 @@ async def chat(request: ChatRequest,
'Content-Type': 'application/json'
}
get_db_manager().user_question_manager.save_user_question(current_user["id"],"chat-messages", request.message)
response = requests.post(url, headers=headers, json=payload, stream=True)
# 如果响应不成功,返回错误

View File

@ -29,7 +29,7 @@ services:
cryptoai-api:
build: .
container_name: cryptoai-api
image: cryptoai-api:0.1.31
image: cryptoai-api:0.1.32
restart: always
ports:
- "8000:8000"