WEB API independent

This commit is contained in:
tuyang.yhj 2023-07-04 19:12:43 +08:00
parent cfd93585e0
commit d4846c2ee5

View File

@ -138,9 +138,7 @@ async def dialogue_scenes():
@router.post("/v1/chat/dialogue/new", response_model=Result[ConversationVo])
async def dialogue_new(
chat_mode: str = ChatScene.ChatNormal.value(), user_id: str = None
):
async def dialogue_new(chat_mode: str = ChatScene.ChatNormal.value(), user_id: str = None):
conv_vo = __new_conversation(chat_mode, user_id)
return Result.succ(conv_vo)