mirror of
https://github.com/alibaba/higress.git
synced 2026-04-22 12:37:26 +08:00
feat(ai-proxy): Adjust the streaming response structure to keep it consistent with the openai (#2391)
Signed-off-by: Xijun Dai <daixijun1990@gmail.com>
This commit is contained in:
5
plugins/wasm-go/extensions/ai-proxy/util/ptr.go
Normal file
5
plugins/wasm-go/extensions/ai-proxy/util/ptr.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package util
|
||||
|
||||
func Ptr[T any](v T) *T {
|
||||
return &v
|
||||
}
|
||||
Reference in New Issue
Block a user