Skip to content

chore(config): auto-migrate deprecated top-level [llm] to [agent.llm] #141

Description

@Shearerbeard

Orchestration mode moved [llm] under [agent.llm], so configs still using the old top-level [llm] table fail with a hard error on upgrade. There's no graceful fallback.

Outcome: Old configs with a top-level [llm] table keep working at runtime. A deprecation warning tells users to update their TOML. If both [llm] and [agent.llm] are present, config loading fails with a clear error — we don't guess which one wins.

Acceptance criteria:

  • Top-level [llm] with [agent] present loads successfully, LLM settings applied as if under [agent.llm]
  • A deprecation warning is logged at runtime
  • Both [llm] and [agent.llm] present produces a validation error
  • [llm] without any [agent] section produces a validation error
  • Shipped example configs updated to the new [agent.llm] shape

Activity

  1. self-assigned this
    on May 14, 2026
  2. added 2 commits that reference this issue on May 14, 2026
    ff1b146
    600b84a
  3. charlesjohnson commented on Jul 6, 2026

    @charlesjohnson
    Collaborator

    Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions