diff --git a/relay/channel/ali/adaptor.go b/relay/channel/ali/adaptor.go index 85986cce..f69c607e 100644 --- a/relay/channel/ali/adaptor.go +++ b/relay/channel/ali/adaptor.go @@ -13,6 +13,8 @@ import ( "net/http" ) +// https://help.aliyun.com/zh/dashscope/developer-reference/api-details + type Adaptor struct { } diff --git a/relay/channel/ali/main.go b/relay/channel/ali/main.go index 416093d0..b9625584 100644 --- a/relay/channel/ali/main.go +++ b/relay/channel/ali/main.go @@ -41,6 +41,7 @@ func ConvertRequest(request model.GeneralOpenAIRequest) *ChatRequest { Parameters: Parameters{ EnableSearch: enableSearch, IncrementalOutput: request.Stream, + Seed: uint64(request.Seed), }, } }