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

Function shouldUseStreamForAutomaticChannelTest

controller/channel-test.go:662–664  ·  view source on GitHub ↗
(channel *model.Channel)

Source from the content-addressed store, hash-verified

660}
661
662func shouldUseStreamForAutomaticChannelTest(channel *model.Channel) bool {
663 return channel != nil && channel.Type == constant.ChannelTypeCodex
664}
665
666func detectErrorMessageFromJSONBytes(jsonBytes []byte) string {
667 if len(jsonBytes) == 0 {

Callers 1

performChannelTestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected