fix: implement improved headers for anthropic to support 8k outputs (#1654)

This commit is contained in:
Laisky.Cai
2024-07-16 23:48:54 +08:00
committed by GitHub
parent 6209ff9ea9
commit adba54acd3
7 changed files with 38 additions and 30 deletions

View File

@@ -32,7 +32,6 @@ func init() {
}
}
type innerAIAdapter interface {
ConvertRequest(c *gin.Context, relayMode int, request *model.GeneralOpenAIRequest) (any, error)
DoResponse(c *gin.Context, resp *http.Response, meta *meta.Meta) (usage *model.Usage, err *model.ErrorWithStatusCode)