tinyagents 0.2.0

A recursive language-model (RLM) harness for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copy this file to `.env` and fill in your credentials.
# The OpenAI-backed examples load it via `dotenvy`.
#
#   cp .env.example .env
#   $EDITOR .env
#   cargo run --features openai --example openai_chat

# Required: your OpenAI API key (https://platform.openai.com/api-keys).
OPENAI_API_KEY=sk-your-key-here

# Optional: model id (defaults to gpt-4.1-mini when unset).
OPENAI_MODEL=gpt-4.1-mini

# Optional: override the API base URL (e.g. for a proxy or Azure-compatible gateway).
# OPENAI_BASE_URL=https://api.openai.com/v1