Merge pull request #829 from trheyi/main

Update message handling to ignore 'action' messages in Neo API assistant
This commit is contained in:
Max 2025-01-23 18:18:22 +08:00 committed by GitHub
commit f4c9071f42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -293,7 +293,7 @@ func (m *Message) AppendTo(contents *Contents) *Message {
contents.AppendFunction([]byte(m.Text))
return m
case "loading", "error": // Ignore loading and error messages
case "loading", "error", "action": // Ignore loading, action and error messages
return m
default: