consciousness/src/agent/api
Kent Overstreet 1f7b585d41 remove Anthropic backend, add request logging on timeout
Delete anthropic.rs (713 lines) — we only use OpenAI-compatible
endpoints (vLLM, OpenRouter). Simplify ApiClient to store base_url
directly instead of Backend enum.

SseReader now stores the serialized request payload and saves it
to ~/.consciousness/logs/failed-request-{ts}.json on stream timeout,
so failed requests can be replayed with curl for debugging.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
2026-04-02 14:13:23 -04:00
..
mod.rs remove Anthropic backend, add request logging on timeout 2026-04-02 14:13:23 -04:00
openai.rs remove Anthropic backend, add request logging on timeout 2026-04-02 14:13:23 -04:00