Commit a11675a6 authored by Steven杜宇's avatar Steven杜宇

/ AI

parent 2137f607
......@@ -144,11 +144,12 @@ class YHAIMainChatViewController: YHBaseViewController {
let question = YHAIChatMessage.createQuestionMessage(text)
self.messages.append(question)
self.messages.append(self.thinkingMessage)
self.reloadAndScrollToBottom()
self.bottomInputView.status = .loading
self.chatConfig.disableHandleMessage = false
self.manager.disableHandleMessage = false
self.disableScrollToBottom = false
self.reloadAndScrollToBottom()
self.manager.requestAI(botId: self.robotId, conversationId: self.conversationId, question:text) {
[weak self] res, done in
guard let self = self else { return }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment