Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ModelList = []*model.ModelConfig{ { Model: "gemini-1.5-pro-001", Type: relaymode.ChatCompletions, Owner: model.ModelOwnerGoogle, }, { Model: "gemini-1.5-flash-001", Type: relaymode.ChatCompletions, Owner: model.ModelOwnerGoogle, }, { Model: "gemini-pro", Type: relaymode.ChatCompletions, Owner: model.ModelOwnerGoogle, }, { Model: "gemini-pro-vision", Type: relaymode.ChatCompletions, Owner: model.ModelOwnerGoogle, }, }
Functions ¶
This section is empty.
Types ¶
type Adaptor ¶
type Adaptor struct{}
func (*Adaptor) ConvertRequest ¶
func (*Adaptor) DoResponse ¶
func (a *Adaptor) DoResponse(meta *meta.Meta, c *gin.Context, resp *http.Response) (usage *relaymodel.Usage, err *relaymodel.ErrorWithStatusCode)
Click to show internal directories.
Click to hide internal directories.