20 Commits

Author SHA1 Message Date
Marcello Pichini
6b00f0109c fix: combine adjacent minute and second duration units (#2684) 2026-11-30 11:32:40 +08:00
游标卡尺
69acdbd316 fix(math_animator): make the code-repair deadline configurable (#2790)
* fix(math_animator): make the code-repair deadline configurable

The render-fix loop's overall repair timeout was fixed at 180s: run_render
built CodeRetryManager without passing repair_timeout_seconds, so the knob
existed on the manager but was unreachable from settings. A long reasoning
model repairing a book animation was cancelled mid-edit at that ceiling with
no way to raise it (#2767).

Lift the deadline into a runtime setting capabilities.math_animator.repair_timeout
in main.yaml, read once in run_render through a get_math_animator_params getter
that shares the UI's coerce/clamp path. The single read site covers all three
callers (math_animator capability, visualize Manim route, book AnimationGenerator),
and an in-flight render keeps the value it started with. The apply branch only
persists when the key is present, so saving unrelated animation settings does not
shadow the loop's default (#1316 shape). Clarify both repair-timeout errors to name
the stage, the effective seconds, and that this is a local deadline rather than a
provider connection failure.

Backend only; the Settings-form field is left to a follow-up and failure-stage
diagnostics/artifact retention to #2768.

* fix(config): keep repair timeout default out of settings saves

The Settings page PUTs the full GET DTO, so exposing the runtime default caused unrelated saves to persist repair_timeout=180. Omit it until explicitly configured, cover the full round trip, and soften the timeout diagnostic.

---------

Co-authored-by: ZQR1101 <278034003+ZQR1101@users.noreply.github.com>
2026-11-27 14:46:23 +08:00
ZQR1101
17d05d6514 fix(agents): a math animator visual review with no verdict says so (#1202) 2026-11-09 10:28:24 +08:00
Bingxi Zhao (Frank)
ce4c39d6a3 Merge commit '0095956fb4639757e632c1b6187a3065c6dd33a4' into codex/validate-reviewed-integration
# Conflicts:
#	tests/agents/math_animator/test_retry_manager.py
2026-10-31 18:53:14 +08:00
Bingxi Zhao
7db39b4b03 Merge pull request #2142 from 1akashkalita/fix/animation-visual-review-option
Expose opt-in visual review for generated animations
2026-10-31 18:31:15 +08:00
Bingxi Zhao (Frank)
0095956fb4 fix(math-animator): keep unavailable geometry checks advisory 2026-10-31 17:22:25 +08:00
Bingxi Zhao (Frank)
4d2678954d fix(manim): preserve review failures and reap cancelled geometry probes 2026-10-31 16:56:47 +08:00
Amar Tinawi
8f1db978cc feat(math_animator): dry-run geometry check gates each render
Without a vision model the pipeline has no layout review, so overlapping
labels, lines through formulas and text cut off by the frame ship as-is.

layout_probe.py replays the scene with Manim's dry_run (no frames drawn,
a few seconds), snapshots every visible text and stroked VMobject after
each play()/wait(), and reports in scene units: text overlapping text,
strokes crossing text, and text or shapes past the (camera) frame edge.

When visual review is off and output is video, the probe runs before each
render. A failing layout is raised as a ManimRenderError, so the existing
repair loop fixes it before any frame is drawn (MAX_LAYOUT_ROUNDS = 3);
after that the scene renders as it stands, and the post-render review only
records what is left. The probe fails open: a crash or timeout skips it.

The English code-generator prompt gains layout rules and the Manim
Community API names the renderer rejects; the repair prompt says how to
fix layout findings.
2026-10-30 15:17:07 +04:00
kevin
8c76fca86e fix: read duration units only at a word boundary in the math animator 2026-10-29 18:37:52 +09:00
Akash Kalita
6e611fe5df fix: expose opt-in visual review for animations 2026-10-28 21:11:03 -07:00
Bingxi Zhao (Frank)
ce48fc2d4c fix(math-animator): stop truncation retries at the output ceiling (#1914) 2026-10-19 01:52:28 +08:00
Bingxi Zhao (Frank)
fe5c6fe936 fix(math-animator): keep render failure when source vanishes (#1545) 2026-09-27 05:02:08 +08:00
Bingxi Zhao (Frank)
178c1813a1 fix(math-animator): preserve render error cause and guide LaTeX repair (#1545) 2026-09-27 05:02:08 +08:00
Bingxi Zhao (Frank)
6e3dfe59ab fix(manim): retry reasoning-starved structured stages at low effort 2026-09-23 12:22:32 +08:00
Bingxi Zhao (Frank)
eabc17d79f release: v1.6.10
Native LightRAG role models: extraction, keyword, query and vision each
resolve their own model, vision indexing pins a vision-capable model
instead of silently degrading, and a knowledge base records which models
and which embedding built it. A published index refuses queries after its
embedding identity changes rather than searching a foreign vector space,
and a rebuild is confirmed against the configuration it will actually
use — a stale confirmation is rejected instead of quietly rebuilding
something else. A failed publication is withdrawn, not left half-written.

PDF attachments follow the parsing engine configured for the workspace,
report the stage they are in, and a truncated answer says it was
truncated with the counters that prove it. Providers are no longer
filtered out of the embedding picker on an unverifiable capability guess:
configure the model and test it. Visualize's temperature and token budget
are settings rather than literals. Notebook evidence no longer depends on
the chat session that produced it.

See assets/releases/ver1-6-10.md for the full notes, and the README
translations for the propagated prose.
2026-09-22 21:36:27 +08:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.

Release notes: assets/releases/ver1-6-5.md
2026-09-06 13:46:29 +08:00
Santh
20f5ac7acd fix(math-animator): do not treat ms as minutes in duration parsing (#681)
Bare "m" matched inside "1ms", so millisecond text became a 60s target.
2026-07-24 16:03:53 +08:00
Bingxi Zhao (Frank)
593ddba3fb feat(co-writer): add multi-doc co-writer workspace with backend storage
- Add co-writer storage module and API router for document persistence
- Restructure co-writer page to per-doc routing ([docId]) with sidebar recent list
- Wire CoWriterRecent into sidebar shell and AppShellContext
- Tidy notebook prompts, facade, path service, and builtin tools wiring
- Refresh tests (add missing __init__.py, drop obsolete app_facade test)
- Add favicon/apple-touch-icon assets and minor i18n cleanup

Made-with: Cursor
2026-04-20 19:46:41 +08:00
Bingxi Zhao (Frank)
9c18bf0705 codebase cleanup and decoupled, introduce cli operation 2026-03-13 20:42:16 +08:00
Bingxi Zhao (Frank)
91197f3729 chore: deeptutor 2.0 2026-03-13 01:47:38 +08:00