Skip to content

gateway: use identity.name in agent summaries when name is unset#1692

Open
BingqingLyu wants to merge 3 commits into
mainfrom
fork-pr-57835-wolf-agent-summary-name-fallback
Open

gateway: use identity.name in agent summaries when name is unset#1692
BingqingLyu wants to merge 3 commits into
mainfrom
fork-pr-57835-wolf-agent-summary-name-fallback

Conversation

@BingqingLyu

@BingqingLyu BingqingLyu commented Apr 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • fall back to identity.name when agents.list[].name is unset in gateway agent summaries
  • keep explicit configured name values authoritative when both fields are present
  • add regression coverage for both the basic agent list and the richer gateway summary path

Fixes openclaw#57822

Testing

  • pnpm.cmd test -- src/gateway/agent-list.test.ts
  • pnpm.cmd exec vitest run src/gateway/session-utils.test.ts -t "falls back to identity.name when name is unset|allows avatar symlinks that stay inside workspace|keeps explicit agents.list scope over disk-only agents"

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.

[ Bug ]: Web UI agent dropdown shows agent.id instead of identity.name

2 participants