Merge remote-tracking branch 'origin/upstream/main'

This commit is contained in:
Laisky.Cai
2024-01-28 13:44:16 +00:00
113 changed files with 3608 additions and 3013 deletions

View File

@@ -0,0 +1,22 @@
package baidu
// import (
// "github.com/gin-gonic/gin"
// "github.com/songquanpeng/one-api/relay/channel/openai"
// "net/http"
// )
// type Adaptor struct {
// }
// func (a *Adaptor) Auth(c *gin.Context) error {
// return nil
// }
// func (a *Adaptor) ConvertRequest(request *openai.GeneralOpenAIRequest) (any, error) {
// return nil, nil
// }
// func (a *Adaptor) DoResponse(c *gin.Context, resp *http.Response) (*openai.ErrorWithStatusCode, *openai.Usage, error) {
// return nil, nil, nil
// }