summaryrefslogtreecommitdiffstats
path: root/src/provider.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Licensesalmonik25 hours1-12/+49
|
* 0.12.0: provider is a type + URL, plus a config filesalmonik5 days1-17/+20
| | | | | | | - --provider opencode|openai-compatible; opencode keeps the session header, openai-compatible needs a base URL and sends none - config file at ~/.config/agent686/config.toml (provider, url, model, flags) - fix the doubled-dash --provider help message
* 0.11.0: /undo via git checkpoints, /compact, provider presets, leniency, ↵salmonik6 days1-21/+60
| | | | | | | | | | system CA - /undo resets to a git checkpoint taken before each turn - /compact summarises and rewrites the transcript (ADR 0003, the one sanctioned rewrite) - --provider presets for six OpenAI-compatible gateways, local ones lenient by default - --lenient and --system-ca - proxies already honoured via ureq; documented
* 0.9.2: doc accuracy and UX fixes from the reviewsalmonik6 days1-0/+4
| | | | | | | | - missing key exits 1, consistent with --doctor - HTML error bodies get a one-line message - no unapprovable diff printed on a non-terminal - weak GLIBC_2.39 fix covers x86_64 gnu as well as i686 - README/PLAN/CHANGELOG brought in line with the actual binary
* 0.7.0: resume shows where you left off; no approval for unparsable callssalmonik9 days1-1/+14
| | | | | | | | | - --continue prints the last answer, or the last reasoning block if there was none - tool arguments are validated before prompting, so an empty bash call becomes an error for the model instead of a blank approval - empty placeholder tool calls are dropped and reported - sessions tolerate invalid UTF-8 lines from a torn write - AGENT686_DEBUG_STREAM=1 dumps SSE frames
* 0.5.0: visible step counter, one client per turn, docs correctedsalmonik9 days1-8/+23
| | | | Also fixes a 32-bit-only rlim_t mismatch found by building the target.
* 0.4.1 + 0.4.2: abort integrity, stream completeness, tool-call indexingsalmonik9 days1-27/+101
| | | | | | | | - an aborted multi-call step now answers every announced tool call - sessions with unanswered calls are repaired by appending results - a stream without [DONE]/finish_reason is an error, not an answer - tool call deltas keyed by index can no longer vanish or invent empty calls - one-shot exit codes: 130 aborted, 3 denied
* 0.3.0: --version and --doctorsalmonik9 days1-0/+49
| | | | | | doctor reports key source, writable dirs, provider, model, then checks the key against GET /models and confirms the model id is listed. Non-zero exit on failure, so it can gate a deployment.
* Robustness: retry with backoff, explained errors, --list, --session createssalmonik9 days1-25/+138
| | | | | | | | | - four attempts on 408/425/429/500/502/503/504 and transport errors, honouring Retry-After - backoff is interruptible so Ctrl-C is not held for up to 8s - context overflow, auth failure and rate limit messages say what to do - --list shows id/model/messages/age without needing a key - --session <id> creates the session when the id does not exist - probes recorded: session header is mandatory, consecutive user messages allowed
* M1-M5: sessions, six tools, approvals, prompt, Ctrl-C, target gatesalmonik10 days1-23/+41
| | | | | | | | | | - append-only JSONL sessions with --continue/--session; reasoning stored, stripped on replay - read/write/edit/grep/glob + bash with timeout and capped output - diff-preview approval for the first edit of a session, per-call approval for bash - system prompt frozen per session with AGENTS.md snapshot and change warning - SIGINT aborts the turn, second Ctrl-C exits - glibc gate ignores weak symbols; verified in linux/386 debian:12 - acceptance test (calculator in C) passes on both x86-64 and i386
* M0: streaming provider, SSE decoder, mock provider, i686 build gatesalmonik10 days1-0/+319