{{define "content"}}{{template "settings-start" .}}{{with .Data}}{{$cfg := .Cfg}}{{$set := .Set}}

AI

The model Supermarket writes with: drafts, the profile draft, and later the other modules. It's called directly, never through Hermes, so text read from the web can't reach an agent with tools.

Provider

Key

{{if .HasAnthropicKey}}

Using the key saved here.

{{else if .Shared}}

Using Hermes' key, shared by supermarket hermes. Hermes uses {{.Shared.Model}}.

To use a separate key, for example to see Supermarket's costs apart from Hermes', save it below: it takes the place of Hermes'.

{{else}}

No key yet. Save one below, or share Hermes' by running supermarket hermes.

{{end}} {{range .Keys}}{{if eq .Group "anthropic"}}{{template "key-field" (dict "F" . "Set" (index $set .Name))}}{{end}}{{end}}

Server

{{range .Servers}}{{end}} {{if .Servers}}

Found by CoreDesktop's configure ai-servers: {{range $i, $s := .Servers}}{{if $i}}, {{end}}{{$s.Name}} ({{$s.BaseURL}}){{end}}.

{{end}} Asking the server…
{{range .Keys}}{{if eq .Group "openai"}}{{template "key-field" (dict "F" . "Set" (index $set .Name))}}{{end}}{{end}}

Model

{{range .AnthropicModels}}
A different model per task

Leave empty to use the model above. Same provider.

{{range .Tasks}} {{end}}
Asking the model…

Test uses the provider and model in the form, and the keys already saved: save a new key before testing it.

{{end}}{{template "settings-end"}}{{end}} {{define "test-result"}} {{if .Error}}

{{.Error}}

{{else}}

The model answered in {{.Took}}: “{{.Reply}}”

{{end}} {{end}} {{define "model-list"}} {{if .Error}}

{{.Error}}

{{else if .Models}}

Models on this server (click one to use it):

{{else}}

The server has no models.

{{end}} {{end}}