feat(agent): support image avatars alongside emoji avatars#1760
Open
leedalei wants to merge 1 commit into
Open
feat(agent): support image avatars alongside emoji avatars#1760leedalei wants to merge 1 commit into
leedalei wants to merge 1 commit into
Conversation
|
This pull request has been inactive for 30 days. It will be automatically closed in 14 days unless there is new activity. If you're still working on this, please leave a comment or push new commits to keep it open. Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds managed image avatar support for custom agents while preserving the existing emoji-based workflow.
这次改动把 Agent 头像从只能使用 Emoji,升级为同时支持 Emoji 和图片,但尽量不改变用户原有的使用习惯。对轻量场景,用户依然可以快速选一个 Emoji 完成设置;对更强调辨识度和角色感的场景,也可以直接上传图片。这样既提升了 Agent 的个性化表达能力,也增强了侧边栏、列表和设置页中的识别效率,让多 Agent 场景下的区分更直观,整体体验更完整、更自然,也更接近真实产品可长期使用的状态。
What changed
Testing
Verified:
npx eslint src/renderer/components/agent/AgentCreateModal.tsxnpx tsc --noEmit --project tsconfig.jsonAdditional coverage added:
src/main/agentAvatarStore.test.ts