Skip to content

v0.2.1 Declarative Providers

Choose a tag to compare

@igormcsouza igormcsouza released this 19 Oct 14:19
· 27 commits to main since this release
ee85618

Add model backends without writing code.

Features

  • Declarative providers (#49): ~/.tether/providers.yaml (override with TETHER_PROVIDERS, never read from the workspace) maps a model-id prefix to a provider. Kinds: openai (OpenRouter, vLLM, Groq, LM Studio...), ollama, anthropic and command, which wraps any CLI that prints JSON (for example claude -p --tools "") with {model}, {system} and {conversation} placeholders, JSON-path reply and token usage, and a timeout. argv is executed directly, never through a shell. Works in tether run, tether pipeline, the SDK and tether mcp.
  • Built-in prefixes (ollama, openai, anthropic, claude) cannot be shadowed.

Docs: https://igormcsouza.github.io/tether/reference/providers/#declarative-providers