Skip to content

fix: show local agent config names#12427

Open
mturac wants to merge 1 commit into
continuedev:mainfrom
mturac:fix/issue-12345-local-agent-display-name
Open

fix: show local agent config names#12427
mturac wants to merge 1 commit into
continuedev:mainfrom
mturac:fix/issue-12345-local-agent-display-name

Conversation

@mturac
Copy link
Copy Markdown

@mturac mturac commented May 16, 2026

Summary

  • initialize local agent profile titles from the YAML name: field when .continue/agents/*.yaml files are discovered
  • keep the filename fallback for unnamed or invalid YAML configs so the selector remains usable
  • cover both display-name and fallback behavior in LocalProfileLoader tests

Fixes #12345

Tests

  • npm run vitest --prefix core -- config/profile/LocalProfileLoader.vitest.ts
  • npm run tsc:check --prefix core
  • npm run lint -- --quiet config/profile/LocalProfileLoader.ts config/profile/LocalProfileLoader.vitest.ts from core/
  • npx prettier --check core/config/profile/LocalProfileLoader.ts core/config/profile/LocalProfileLoader.vitest.ts

Summary by cubic

Show the YAML name as the display title for local agent configs in the selector, with sensible fallbacks to keep it usable. Fixes #12345.

  • Bug Fixes
    • Parse name from the override YAML and set LocalProfileLoader title.
    • Fallback to the filename when name is missing or YAML is invalid; use "Local Config" when no path.
    • Added tests covering named and fallback cases.

Written for commit e053075. Summary will update on new commits. Review in cubic

@mturac mturac requested a review from a team as a code owner May 16, 2026 21:03
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

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

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Config selector displays filename instead of name: field for agents/*.yaml configs

1 participant