Reuse the chat picker for agent creation and editing so agents can
select chat-capable aliases and retain their alias names.
Resolve capability flags through the existing one-hop alias resolver.
Keep alias metadata and ID-based permissions unchanged, and give broken
or chained aliases no usable capabilities.
Cover alias persistence, default selection, filtering and permissions.
Document that agents save the alias name rather than its target name.
Assisted-by: nib:unknown
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Co-authored-by: Ettore Di Giacinto <mudler@localai.io>