MCPcopy Index your code
hub / github.com/aiprodcoder/MIXAPI / addUsedChannel

Function addUsedChannel

controller/relay.go:242–246  ·  view source on GitHub ↗
(c *gin.Context, channelId int)

Source from the content-addressed store, hash-verified

240}
241
242func addUsedChannel(c *gin.Context, channelId int) {
243 useChannel := c.GetStringSlice("use_channel")
244 useChannel = append(useChannel, fmt.Sprintf("%d", channelId))
245 c.Set("use_channel", useChannel)
246}
247
248func getChannel(c *gin.Context, group, originalModel string, retryCount int) (*model.Channel, *types.NewAPIError) {
249 if retryCount == 0 {

Callers 3

relayRequestFunction · 0.85
wssRequestFunction · 0.85
claudeRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected