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

Function GetModelPriceCopy

setting/ratio_setting/model_ratio.go:647–655  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

645}
646
647func GetModelPriceCopy() map[string]float64 {
648 modelPriceMapMutex.RLock()
649 defer modelPriceMapMutex.RUnlock()
650 copyMap := make(map[string]float64, len(modelPriceMap))
651 for k, v := range modelPriceMap {
652 copyMap[k] = v
653 }
654 return copyMap
655}
656
657func GetCompletionRatioCopy() map[string]float64 {
658 CompletionRatioMutex.RLock()

Callers 1

GetExposedDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected