Versions in this module Expand all Collapse all v0 v0.0.1 Feb 6, 2025 Changes in this version + const RMB + const USD + const USD2RMB + var CompletionRatio = map[string]float64 + var DefaultCompletionRatio map[string]float64 + var DefaultModelRatio map[string]float64 + var GroupRatio = map[string]float64 + var ImageGenerationAmounts = map[string][2]int + var ImageOriginModelName = map[string]string + var ImagePromptLengthLimitations = map[string]int + var ImageSizeRatios = map[string]map[string]float64 + var ModelRatio = map[string]float64 + func AddNewMissingRatio(oldRatio string) string + func CompletionRatio2JSONString() string + func GetCompletionRatio(name string, channelType int) float64 + func GetGroupRatio(name string) float64 + func GetModelRatio(name string, channelType int) float64 + func GroupRatio2JSONString() string + func ModelRatio2JSONString() string + func UpdateCompletionRatioByJSONString(jsonStr string) error + func UpdateGroupRatioByJSONString(jsonStr string) error + func UpdateModelRatioByJSONString(jsonStr string) error