Skip to content

refactor(statusline): improve status line display and robustly handle configuration checks for budgeting - #446

Open
ilypopv wants to merge 1 commit into
codemie-ai:mainfrom
ilypopv:main
Open

refactor(statusline): improve status line display and robustly handle configuration checks for budgeting#446
ilypopv wants to merge 1 commit into
codemie-ai:mainfrom
ilypopv:main

Conversation

@ilypopv

@ilypopv ilypopv commented Jul 27, 2026

Copy link
Copy Markdown

Summary

Improve robustness of budget configuration handling in the statusline. Better fallback logic for profile resolution and clearer budget display formatting.

Changes

  • Added empty array check in matchBudgetRow to prevent unnecessary lookups
  • Enhanced config fallback: profile values now fall back to global config if profile is missing
  • Simplified validation to check only critical parameters (codeMieUrl, baseUrl)
  • Added "Total:" prefix to budget display for clarity

Checklist

  • Self-reviewed
  • Manual testing performed
  • Documentation updated (if needed)
  • No breaking changes

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant