Commit Graph
7 Commits
Author SHA1 Message Date
Evandro Fonseca Junior abb9db0b77 docs(quick-1): add execution summary for internal-error bug fix 2026-03-30 17:30:42 -03:00
Evandro Fonseca Junior 44875aa03e fix(quick-1): prevent 'internal error' from polluting DB and chat history
- routes.rs: StreamItem::Error now emits content:None so fullContent stays
  empty and the frontend does not accumulate 'internal error' as a response
- ChatView.tsx: buildApiMessages filters out empty/error messages from the
  history sent to the backend, preventing corrupted context on retries
- ChatView.tsx: assistant INSERT is guarded — skipped when fullContent is
  empty, so a failed stream leaves no empty assistant row in the DB
2026-03-30 17:29:57 -03:00
Evandro Fonseca Junior d9198795bf fix(quick-1): bail on NULL KV cache and improve prefill error diagnostics
- engine.rs: new_session() now returns Err when llama_get_memory returns NULL
  instead of silently continuing, preventing decode corruption on 2nd request
- session.rs: decode_prefill error includes token count for easier diagnosis
2026-03-30 17:28:39 -03:00
Evandro Fonseca Junior 54a58ee9c7 chore: ignore vendor binaries and DLL files 2026-03-29 19:48:17 -03:00
Evandro Fonseca Junior 78a896c473 chore: ignore .gguf model files and models directory 2026-03-29 19:38:29 -03:00
Evandro Fonseca Junior 4473e3d484 chore: remove node_modules and dist from git tracking
Add proper .gitignore entries for tauri-app/node_modules and tauri-app/dist
to stop tracking generated/installed files.
2026-03-29 19:29:56 -03:00
Evandro Fonseca Junior a392b9dc60 Initial ForgeLM import 2026-03-29 19:10:57 -03:00