feat: Session list switch bugfix

This commit is contained in:
wb-lh513319
2024-08-19 15:05:30 +08:00
parent d89e0bd20e
commit 41db38e29e

View File

@@ -103,7 +103,7 @@ const useChat = ({ queryAgentURL = '/api/v1/chat/completions', app_code }: Props
onError?.('Sorry, We meet some error, please try agin later.', err as Error);
}
},
[queryAgentURL, app_code],
[queryAgentURL, app_code, scene],
);
return { chat, ctrl };