Method
DoRequest
(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader)
Source from the content-addressed store, hash-verified
| 71 | } |
| 72 | |
| 73 | func (a *Adaptor) DoRequest(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader) (any, error) { |
| 74 | return channel.DoApiRequest(a, c, info, requestBody) |
| 75 | } |
| 76 | |
| 77 | func (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
Tested by
no test coverage detected