use user-supplied model id
This commit is contained in:
parent
a3924be4c1
commit
323802e740
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ async def connect_to_conversation(ws: WebSocket):
|
|||
continuing = bool(ws.query_params.get("continue"))
|
||||
conversation_id = ws.path_params["conversation"]
|
||||
if conversation_id == "new":
|
||||
conversation = llm.AsyncConversation(llm.get_async_model())
|
||||
conversation = llm.AsyncConversation(llm.get_async_model(ws.query_params.get("model")))
|
||||
else:
|
||||
try:
|
||||
conversation: llm.AsyncConversation = llm.cli.load_conversation(conversation_id, async_=True)
|
||||
|
|
Loading…
Reference in a new issue