stav 0.2.0

A statically typed, eager and total configuration language
Documentation
---
source: crates/stav/tests/eval.rs
expression: output
---
--- JSON
{
  "listen": "127.0.0.1:8080",
  "models": [
    {
      "id": "claude-opus",
      "provider": "anthropic",
      "context": 200000,
      "temperature": 0.7
    },
    {
      "id": "llama",
      "provider": "local",
      "context": 128000,
      "temperature": 0.2
    }
  ],
  "endpoints": [
    "https://api.anthropic.com claude-opus",
    "http://localhost:11434 llama"
  ]
}
--- TOML
listen = "127.0.0.1:8080"
endpoints = ["https://api.anthropic.com claude-opus", "http://localhost:11434 llama"]

[[models]]
id = "claude-opus"
provider = "anthropic"
context = 200000
temperature = 0.7

[[models]]
id = "llama"
provider = "local"
context = 128000
temperature = 0.2
--- YAML
listen: "127.0.0.1:8080"
models:
  - id: claude-opus
    provider: anthropic
    context: 200000
    temperature: 0.7
  - id: llama
    provider: local
    context: 128000
    temperature: 0.2
endpoints:
  - "https://api.anthropic.com claude-opus"
  - "http://localhost:11434 llama"