mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
Three private tiles published to the codeflash workspace: - codeflash-internal-rules: 6 eager rules (code-style, architecture, optimization-patterns, git-conventions, testing-rules, multi-language-handlers) - codeflash-internal-docs: 8 lazy doc pages (domain-types, optimization-pipeline, test-generation-pipeline, context-extraction, aiservice/cf-api endpoints, configuration-thresholds, llm-provider-abstraction) - codeflash-internal-skills: 4 on-demand skills (debug-optimization-failure, add-language-support, add-api-endpoint, debug-test-generation)
1.1 KiB
1.1 KiB
Codeflash Internal Documentation
CodeFlash's AI-powered code optimization backend. The aiservice (Django-Ninja) receives optimization requests from cf-api, dispatches to language-specific handlers, calls LLMs, postprocesses results, and returns optimized candidates.
Service Flow
VSC-Extension / CLI → cf-api (Express, :3001) → aiservice (Django-Ninja, :8000)
cf-webapp (:3000) reads from the same PostgreSQL DB via Prisma
Documentation Pages
- Domain Types — Core schemas and domain models
- Optimization Pipeline — End-to-end optimization flow
- Test Generation Pipeline — Test generation flow
- Context Extraction — How code context is extracted for LLM prompts
- AIService Endpoints — All Django-Ninja endpoints
- CF-API Endpoints — All Express routes
- Configuration & Thresholds — Model distribution, costs, constants
- LLM Provider Abstraction — llm.py usage, client creation, cost tracking