MCPcopy
hub / github.com/QuantumNous/new-api / Adaptor

Struct Adaptor

relay/channel/gemini/adaptor.go:23–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21)
22
23type Adaptor struct {
24}
25
26func (a *Adaptor) ConvertGeminiRequest(c *gin.Context, info *relaycommon.RelayInfo, request *dto.GeminiChatRequest) (any, error) {
27 if len(request.Contents) > 0 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected