Rewrite app: strict Socratic questioning engine with FastAPI backend
Claude
Unverified signature
1e29076
- Remove standalone client-side index.html (violated spec)
- Use openai Python library with configurable base_url (no hardcoded provider)
- System prompts verbatim from spec: one question per response, never direct answers
- Stateless sessions: no localStorage, no cookies, no persistence
- No dashboard/usage statistics — only end-of-session analysis report
- RAG: ChromaDB + sentence-transformers, 3 chunks injected per turn
- 5-phase protocol: Ciblage/Clarification/Mecanisme/Verification/Stress-test
- Two modes: TUTOR (accompaniment) and CRITIC (devil's advocate)
- JSON export of full session (messages + scores + timestamps)
- Docker + docker-compose with volume-mounted /corpus
- README: dual config (OpenRouter test / Ollama production)
- No hardcoded references to any LLM provider in code
https://claude.ai/code/session_015z3yZxNNfXF63JuQDuPbEG
Switch from Ollama to OpenRouter for LLM inference
Claude
Unverified signature
02fd291
Replace local Ollama calls with OpenRouter API (OpenAI-compatible).
Configurable via OPENROUTER_API_KEY and LLM_MODEL env vars.
Default model: mistralai/mistral-7b-instruct.
https://claude.ai/code/session_015z3yZxNNfXF63JuQDuPbEG