MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / DoRequest

Method DoRequest

relay/channel/perplexity/adaptor.go:73–75  ·  view source on GitHub ↗
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)

Source from the content-addressed store, hash-verified

71}
72
73func (a *Adaptor) DoRequest(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader) (any, error) {
74 return channel.DoApiRequest(a, c, info, requestBody)
75}
76
77func (a *Adaptor) DoResponse(c *gin.Context, resp *http.Response, info *relaycommon.RelayInfo) (usage any, err *types.NewAPIError) {
78 if info.IsStream {

Callers

nothing calls this directly

Implementers 15

Adaptorrelay/channel/jimeng/adaptor.go
Adaptorrelay/channel/gemini/adaptor.go
Adaptorrelay/channel/deepseek/adaptor.go
Adaptorrelay/channel/ali/adaptor.go
Adaptorrelay/channel/xunfei/adaptor.go
Adaptorrelay/channel/ollama/adaptor.go
Adaptorrelay/channel/mistral/adaptor.go
Adaptorrelay/channel/zhipu_4v/adaptor.go
Adaptorrelay/channel/palm/adaptor.go
Adaptorrelay/channel/jina/adaptor.go
Adaptorrelay/channel/xai/adaptor.go
Adaptorrelay/channel/openai/adaptor.go

Calls 1

DoApiRequestFunction · 0.92

Tested by

no test coverage detected