{{define "content"}} {{if .ModelRoutes}} {{range .ModelRoutes}}

{{.Name}}{{if .Aliases}} aliases: {{range $i, $a := .Aliases}}{{if $i}}, {{end}}{{$a}}{{end}}{{end}}

{{$health := $.ProviderHealth}} {{range .Routes}} {{end}}
Provider Provider Model Priority Input Price (per 1M) Output Price (per 1M) Health
{{.ProviderName}} {{.ProviderModel}} {{.Priority}} {{formatPrice .InputPrice}} {{formatPrice .OutputPrice}} {{$pname := .ProviderName}} {{range $health}} {{if eq .Provider $pname}} {{if eq .Status "healthy"}}healthy {{else if eq .Status "degraded"}}degraded {{else}}down {{end}} {{end}} {{end}} {{if not $health}}-{{end}}
{{end}} {{else}}
No models configured
{{end}} {{end}}