MicroFish/backend
Claude 20564979af
feat(backend): add Claude Code -> OpenAI adapter for LLM backend
Add an OpenAI-compatible shim (/v1/chat/completions, /v1/models) that
fulfils requests by shelling out to the local `claude` CLI in headless
print mode. Lets any OpenAI-SDK client (LLMClient, OASIS profile
generator, camel simulation) use Claude Code as the LLM without an
external API key. Stdlib-only; honors JSON mode and system prompts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PncDFtFKx6W3MHxYx7RrWK
2026-06-25 05:49:02 +00:00
..
app refactor: add type hints and FileParser.is_supported() helper 2026-05-23 14:57:46 +08:00
scripts feat(backend): add Claude Code -> OpenAI adapter for LLM backend 2026-06-25 05:49:02 +00:00
pyproject.toml fix(backend): constrain Python version to 3.11-3.12 2026-05-24 22:59:36 +08:00
requirements.txt fix(file_parser): handle non-UTF-8 encoded text files with automatic encoding detection 2026-01-22 18:28:37 +08:00
run.py Add UTF-8 encoding support for Windows console in run.py and logger.py to prevent character encoding issues 2025-12-26 17:58:48 +08:00
uv.lock fix(backend): constrain Python version to 3.11-3.12 2026-05-24 22:59:36 +08:00