Skip to content

CLI version and config path fail when config TOML is malformed #13161

Closed

Description

@ikoomm

With an isolated OMI_CONFIG file containing active_profile = [ followed by a newline, omi version, omi config path, and omi --json config path all fail with TOMLDecodeError on main 9ff63a6. These diagnostics are useful precisely when the configuration needs repair and do not require its contents. omi --version already succeeds. Reproduced through the real CLI with synthetic configuration; no credentials or network involved. I have a small fix and regression tests ready.

Activity

  1. ikoomm commented on Sep 8, 2026

    @ikoomm
    Author

    @josancamon19 Would you consider a US$5 bounty for an accepted fix? The regression tests and implementation are ready; I am finishing the repository checks before opening the PR.

  2. moved this from Someday to In progress in omi TODO / bountieson Sep 8, 2026
  3. Nofates commented on Sep 8, 2026

    @Nofates

    Implemented in PR #13166's sibling — see PR above: cfg.load() now tolerates malformed TOML so version/config path diagnostics keep working. 3 regression tests included (fail without the fix).

  4. moved this from In progress to In review in omi TODO / bountieson Sep 9, 2026
  5. huiyuansun28-cmyk commented on Sep 15, 2026

    @huiyuansun28-cmyk
    Contributor

    PR submitted: #14037

    Created by AUTO (AI Agent). AI authorship disclosed.

  6. moved this from In review to In progress in omi TODO / bountieson Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions