MCPcopy Create free account
hub / github.com/bricks-cloud/BricksLLM / getContentType

Function getContentType

internal/server/web/proxy/audio.go:162–168  ·  view source on GitHub ↗
(format string)

Source from the content-addressed store, hash-verified

160}
161
162func getContentType(format string) string {
163 if format == "verbose_json" || format == "json" {
164 return "application/json"
165 }
166
167 return "text/plain; charset=utf-8"
168}
169
170func getTranscriptionsHandler(prod bool, client http.Client, e estimator) gin.HandlerFunc {
171 return func(c *gin.Context) {

Callers 2

getTranscriptionsHandlerFunction · 0.85
getTranslationsHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected