{{/* People, their limits and their use: one page in three tabs, because all three are about the same tree. Each tab keeps its old address. Forms and links work as plain navigation; htmx, when it loads, swaps only #people, so a change does not jump the page. */}} {{define "admin_people"}}
Organizations, teams, projects and the people in them: what each may use, and what it used
{{template "nav" .Nav}}{{.Path}}
{{end}} ×In {{range $i, $m := .}}{{if $i}}, {{end}}{{$m.Path}}{{end}}
{{else}}{{if eq (printf "%s" $d.Kind) "user"}}On their own: in no organization, team or project.
{{end}}{{end}} {{if or .Limits .Person}}No model has a price, so budgets stay at zero; rate and token limits apply.
{{end}} {{with .Limits}}{{.Models}}{{else if .ModelsFrom}}limited by {{.ModelsFrom}}{{else}}every model{{end}}{{.Shadowed}}
{{end}}{{.Models}}{{else}}every model{{end}}Held of guaranteed (at most the limit). change
{{else}}No capacity quota: its models share the cluster by their class alone. set one
{{end}} {{end}} {{if .HasUsage}}{{compact .Totals.Requests}} requests · {{compact .Totals.Tokens}} tokens{{if .Priced}} · {{.Totals.Spend}} spent{{end}}{{if .Totals.Errors}} · {{.Totals.Errors}} errors{{end}}
{{if and .HasStats .Stats.Requests}}{{with .Stats}}Nothing used in this window.
{{end}} {{end}} {{end}}