Files
aigc-home/docs/changelogs/2026-08-29.md
T

3.0 KiB

Calliope changelog — 29 August 2026

Per-agent LLMs + clip-native export update. Development branch test-pr-25.

Full changelog index: README. Previous: 2026-08-24.


Model per agent (Settings → Agent)

You can now choose which LLM each agent uses — no more one model for everything.

  • Settings → Agent → "Model per agent" sits above the hardening rules. Six rows: Main agent, Planner, Story agent, Script agent, Assets agent, Video agent.
  • Each dropdown lists every saved LLM from Settings → LLM plus a (use Active LLM) default. Blank = Active LLM, so existing setups behave exactly as before.
  • Where the assignments apply:
    • Main agent — the chat loop that answers you and calls tools.
    • Planner — decides single vs. swarm, and writes the final swarm summary.
    • Story / Script / Assets / Video agents — the four swarm sub-agents.
    • The Video agent assignment also drives the MiniMax H3 prompt rewrite.
  • Typical setup: a strong cloud model for the main agent and planner, a fast local model for sub-agents.

Details:

  • Assignments are stored in the local calliope_config.json (profile ids, never API keys) and survive restarts.
  • Deleting an LLM profile in Settings → LLM automatically clears any assignment that pointed at it.
  • The API validates assignments: unknown roles are ignored; assigning a non-existent profile id returns 400 Unknown LLM profile for role: <role>.
  • Settings → Agent's stacked panels now have proper spacing between them.

Export film at the clips' own FPS

Film export no longer forces everything to 30 fps.

  • Each scene clip is probed for its real frame rate; the export targets the majority fps across clips (e.g. 24 fps clips export at 24 fps).
  • Ties resolve to the lower rate; if no rate can be read, the old default (30) applies.
  • Mixed-rate projects are conformed to the majority rate — the 0.5s crossfade chain needs one common timebase.
  • The export progress message now reports the rate: "Exporting film (24 fps)…".
  • Everything else in the pipeline is unchanged: 1080p normalize → 0.5s crossfades → loudness normalize.

Housekeeping

  • Added .gitignore files inside calliope-backend/ and calliope-web/ (venv, caches, SQLite data, node_modules, build output) so each sub-folder is self-protecting in addition to the repo-root rules.

For developers

  • LLMClient accepts optional base_url / model / api_key overrides and gains LLMClient.for_role(role); unknown roles and dangling profile ids fall back to the Active LLM.
  • New config knob: agent_llm_assignments (role → profile id or null), exposed via GET/POST /api/settings.
  • POST /api/settings accepts agent_llm_assignments with server-side validation.
  • Export: probe() now returns fps (from ffprobe r_frame_rate), parse_rate() parses rational rates like 24000/1001, target_fps() votes the conform rate, and build_ffmpeg_cmd(..., fps=...) takes an optional override.
  • Full backend suite: 248 passed.