Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
7c42b4d6
Commit
7c42b4d6
authored
Dec 09, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// AI
parent
32a7a052
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
YHAIMainChatViewController.swift
...s/AI/AI-Dialogue(AI对话)/C/YHAIMainChatViewController.swift
+0
-2
YHAIRobotChatViewController.swift
.../AI/AI-Dialogue(AI对话)/C/YHAIRobotChatViewController.swift
+0
-2
No files found.
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/C/YHAIMainChatViewController.swift
View file @
7c42b4d6
...
...
@@ -193,7 +193,6 @@ class YHAIMainChatViewController: YHBaseViewController {
}
func
stopAutoResponse
(
completion
:((
Bool
)
->
())?
=
nil
)
{
YHHUD
.
flash
(
message
:
"加载中..."
)
self
.
manager
.
stopChat
(
chatId
:
self
.
manager
.
chatId
,
conversationId
:
self
.
conversationId
)
{
success
,
error
in
self
.
bottomInputView
.
status
=
self
.
bottomInputView
.
textView
.
text
.
isEmpty
?
.
disableSend
:
.
enableSend
if
success
{
...
...
@@ -201,7 +200,6 @@ class YHAIMainChatViewController: YHBaseViewController {
self
.
manager
.
request
?
.
cancel
()
self
.
chatConfig
.
disableHandleMessage
=
true
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
0.5
)
{
YHHUD
.
hide
()
self
.
chatConfig
.
removeThinkingMessageFromChatList
(
&
self
.
messages
)
self
.
bottomInputView
.
status
=
self
.
bottomInputView
.
textView
.
text
.
isEmpty
?
.
disableSend
:
.
enableSend
self
.
tableView
.
reloadData
()
...
...
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/C/YHAIRobotChatViewController.swift
View file @
7c42b4d6
...
...
@@ -277,7 +277,6 @@ class YHAIRobotChatViewController: YHBaseViewController {
}
func
stopAutoResponse
(
completion
:((
Bool
)
->
())?
=
nil
)
{
YHHUD
.
flash
(
message
:
"加载中..."
)
self
.
manager
.
stopChat
(
chatId
:
self
.
manager
.
chatId
,
conversationId
:
self
.
conversationId
)
{
success
,
error
in
self
.
bottomInputView
.
status
=
self
.
bottomInputView
.
textView
.
text
.
isEmpty
?
.
disableSend
:
.
enableSend
if
success
{
...
...
@@ -285,7 +284,6 @@ class YHAIRobotChatViewController: YHBaseViewController {
self
.
manager
.
request
?
.
cancel
()
self
.
chatConfig
.
disableHandleMessage
=
true
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
0.5
)
{
YHHUD
.
hide
()
self
.
chatConfig
.
removeThinkingMessageFromChatList
(
&
self
.
messages
)
self
.
bottomInputView
.
status
=
self
.
bottomInputView
.
textView
.
text
.
isEmpty
?
.
disableSend
:
.
enableSend
self
.
tableView
.
reloadData
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment