webcraft-ai-backend / code_commenter.py

Commit History

feat(ai): update code commenter, title generator, and add class explainer utils
2739df8

3ssem0 Claude Sonnet 4.6 commited on

b
57f78da

3ssem0 commited on

perf(ai): implement high-speed snippet strategy for tags, attributes, CSS and JS
368ad7b

3ssem0 commited on

feat(ai): strengthen comment density prompt and fix UI refresh on AI update
50215f3

3ssem0 commited on

fix(backend): update endpoints to handle extra frontend fields, fix health check, and improve AI HTML extraction
3a2befc

3ssem0 commited on

fix: set nemotron-nano-12b-v2-vl as primary model
3848089

3ssem0 commited on

debug: add full trace logging to diagnose model failures
1f4968a

3ssem0 commited on

refactor: replace cloudflare with nemotron-nano as primary, pure openrouter chain
ea66120

3ssem0 commited on

fix: validate cloudflare output has comments/valid title before accepting
025550a

3ssem0 commited on

fix(cloudflare): merge system prompt into user prompt to force instruction following
8e1b446

3ssem0 commited on

fix(cloudflare): enforce explicit max_tokens to prevent truncation bugs
dd1210b

3ssem0 commited on

feat: replace primary model with Cloudflare Workers AI
daef7db

3ssem0 commited on

fix: remove failing mistral model from fallback chain
c88c9ff

3ssem0 commited on

fix: replace huggingface fallback with openrouter mistral
20bf440

3ssem0 commited on

fix: switch to flash-lite and phi-3-mini-4k to resolve API limits
f4c3f2e

3ssem0 commited on

feat: complete 5-tier Gemini-first fallback architecture
37dbbaa

3ssem0 commited on

Swap model order and enforce inline comment format
0ce3af8

3ssem0 commited on

Update fallback AI models for stable benchmarking
61c32fa

3ssem0 commited on

feat: benchmark/production mode split, 3-retry backoff, /health_check endpoint
f30a6d9

3ssem0 commited on

feat: add llama-3.3-8b to openrouter fallback chain
4a385f2

3ssem0 commited on

chore: fix huggingface failover timeouts and model
c104871

3ssem0 commited on

v2
ca549e1

3ssem0 commited on

google/gemma-4-27b-it:free
f816d9a

3ssem0 commited on

AI_Commentor-V0.1
b8fbedc

3ssem0 commited on

RAG V1
9b7359e

Assem0 commited on

v2.5
d2259d5

Assem0 commited on

v2.4
497e744

Assem0 commited on

v2.4
c466abe

Assem0 commited on

v2.4
f33d664

Assem0 commited on

v2.3
16b590b

Assem0 commited on

v2.3
b345d98

Assem0 commited on

v2.2
638735e

Assem0 commited on

v2.2
2945a2d

Assem0 commited on

v2
63cf269

Assem0 commited on

Fix: Preserve user HTML content when adding AI comments
eaee78d

Assem0 commited on

Heroku deployment setup
ed5a85a

Assem0 commited on