mirror of
https://github.com/coaidev/coai.git
synced 2025-06-02 03:40:18 +09:00
fix partial
This commit is contained in:
parent
86995a8a79
commit
bfac02db1d
@ -95,6 +95,8 @@ func getRobustnessResult(chunk string) string {
|
|||||||
if strings.HasPrefix(partial, "\\u") {
|
if strings.HasPrefix(partial, "\\u") {
|
||||||
return utils.DecodeUnicode(partial)
|
return utils.DecodeUnicode(partial)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return partial
|
||||||
} else {
|
} else {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user