kiwi/app
pyr0ball 430600c1af fix(recipe_scan): harden JSON parser for real-world LLM output quirks
- Strip <think>/<thinking> blocks before parsing (Qwen3/DeepSeek-R1 emit
  these before the actual JSON answer)
- Replace greedy regex with brace-balanced _extract_json_object() so
  trailing prose after } doesn't corrupt the extract
- Use non-greedy fence regex to pull JSON from inside ```json blocks
- Pass system= to LLMRouter.complete() with a terse JSON-only instruction
  so Ollama models receive it as a system message, not buried in the user turn
- Add logger.warning() on parse failure so raw output is diagnosable
2026-05-17 08:30:55 -07:00
..
api feat(recipe-scan): add SSE streaming endpoint for cold-start progress feedback 2026-05-16 16:24:32 -07:00
core feat(ap): issue #113 — ActivityPub federation + Mastodon OAuth 2026-05-11 17:55:51 -07:00
db feat(ap): issue #113 — ActivityPub federation + Mastodon OAuth 2026-05-11 17:55:51 -07:00
mcp feat(mcp): add Kiwi MCP server for corpus DB access (closes #124) 2026-05-11 11:32:40 -07:00
models feat(ask): add POST /recipes/ask endpoint for natural-language recipe search 2026-05-11 13:07:53 -07:00
services fix(recipe_scan): harden JSON parser for real-world LLM output quirks 2026-05-17 08:30:55 -07:00
staples fix: staple library — consistent tofu_firm slug, load error handling, typed yield_formats, expanded test coverage 2026-03-30 23:10:51 -07:00
static chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
styles feat: recipe engine Phase 3 — StyleAdapter, LLM levels 3-4, user settings 2026-03-31 14:15:18 -07:00
tasks feat(scheduler): auto-detect OrchestratedScheduler when cf-orch is installed 2026-04-19 22:12:44 -07:00
utils chore: initial commit — kiwi Phase 2 complete 2026-03-30 22:20:48 -07:00
__init__.py chore: bump version to 0.2.0 2026-04-08 22:10:36 -07:00
cloud_session.py refactor: replace hand-rolled JWT+Heimdall with cf-core CloudSessionFactory 2026-04-25 16:35:56 -07:00
main.py feat(ap): issue #113 — ActivityPub federation + Mastodon OAuth 2026-05-11 17:55:51 -07:00
tiers.py feat: recipe scanner — photo to structured recipe (kiwi#9) 2026-04-27 08:23:01 -07:00