mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-07 14:53:40 +08:00
fix: add missing UpstreamModelName
This commit is contained in:
@@ -59,6 +59,7 @@ func getAndValidateTextRequest(c *gin.Context, relayInfo *relaycommon.RelayInfo)
|
||||
}
|
||||
}
|
||||
relayInfo.IsStream = textRequest.Stream
|
||||
relayInfo.UpstreamModelName = textRequest.Model
|
||||
return textRequest, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user