MicroFish/backend/scripts
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
..
action_logger.py Enhance simulation management and logging features 2025-12-02 17:11:47 +08:00
claude_openai_adapter.py feat(backend): add Claude Code -> OpenAI adapter for LLM backend 2026-06-25 05:49:02 +00:00
run_parallel_simulation.py Add UTF-8 encoding support for Windows in simulation_runner.py and run_parallel_simulation.py to resolve character encoding issues with third-party libraries. 2025-12-26 18:14:57 +08:00
run_reddit_simulation.py Enhance signal handling and suppress warnings in simulation scripts 2025-12-09 00:37:12 +08:00
run_twitter_simulation.py Enhance signal handling and suppress warnings in simulation scripts 2025-12-09 00:37:12 +08:00
test_profile_format.py Enhance backend functionality with OASIS simulation features 2025-12-01 15:03:44 +08:00