Skip to content

Commit

Permalink
fix chat bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Voine committed Mar 4, 2023
1 parent 4bb0ae8 commit 089470c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class ChatGPTNetService(val context: Context) {
}

fun setSystemRole(role: String) {
sendMessageAssistantList.clear()
systemRole = RequestMessageBean(
RequestMessageBean.ROLE_SYSTEM,
role
Expand Down

0 comments on commit 089470c

Please sign in to comment.