update
This commit is contained in:
parent
03b0afafed
commit
4027f68dca
@ -65,6 +65,8 @@ async def chat(request: ChatRequest,
|
|||||||
'Content-Type': 'application/json'
|
'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)
|
response = requests.post(url, headers=headers, json=payload, stream=True)
|
||||||
|
|
||||||
# 如果响应不成功,返回错误
|
# 如果响应不成功,返回错误
|
||||||
|
|||||||
@ -29,7 +29,7 @@ services:
|
|||||||
cryptoai-api:
|
cryptoai-api:
|
||||||
build: .
|
build: .
|
||||||
container_name: cryptoai-api
|
container_name: cryptoai-api
|
||||||
image: cryptoai-api:0.1.31
|
image: cryptoai-api:0.1.32
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user