feat: support coze now

This commit is contained in:
JustSong
2024-04-21 17:59:57 +08:00
parent d14e4aa01b
commit 8de489cf06
17 changed files with 380 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
package coze
import "github.com/songquanpeng/one-api/relay/adaptor/coze/constant/event"
func event2StopReason(e *string) string {
if e == nil || *e == event.Message {
return ""
}
return "stop"
}