feat(backend): add kiro account support
This commit is contained in:
@@ -22,9 +22,9 @@ func optionalNonEqualStringPtr(value, compare string) *string {
|
||||
|
||||
func forwardResultBillingModel(requestedModel, upstreamModel string) string {
|
||||
if trimmed := strings.TrimSpace(requestedModel); trimmed != "" {
|
||||
return trimmed
|
||||
return normalizeModelNameForPricing(trimmed)
|
||||
}
|
||||
return strings.TrimSpace(upstreamModel)
|
||||
return normalizeModelNameForPricing(upstreamModel)
|
||||
}
|
||||
|
||||
func optionalInt64Ptr(v int64) *int64 {
|
||||
|
||||
Reference in New Issue
Block a user