mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:00:54 +00:00
fix(ui): polish assistant identity settings
Polishes the basic config identity layout, aligns assistant avatar rendering with chat, and adds a Control UI assistant avatar override with IDENTITY.md fallback.
This commit is contained in:
@@ -723,17 +723,26 @@ public struct AgentIdentityResult: Codable, Sendable {
|
||||
public let agentid: String
|
||||
public let name: String?
|
||||
public let avatar: String?
|
||||
public let avatarsource: String?
|
||||
public let avatarstatus: String?
|
||||
public let avatarreason: String?
|
||||
public let emoji: String?
|
||||
|
||||
public init(
|
||||
agentid: String,
|
||||
name: String?,
|
||||
avatar: String?,
|
||||
avatarsource: String?,
|
||||
avatarstatus: String?,
|
||||
avatarreason: String?,
|
||||
emoji: String?)
|
||||
{
|
||||
self.agentid = agentid
|
||||
self.name = name
|
||||
self.avatar = avatar
|
||||
self.avatarsource = avatarsource
|
||||
self.avatarstatus = avatarstatus
|
||||
self.avatarreason = avatarreason
|
||||
self.emoji = emoji
|
||||
}
|
||||
|
||||
@@ -741,6 +750,9 @@ public struct AgentIdentityResult: Codable, Sendable {
|
||||
case agentid = "agentId"
|
||||
case name
|
||||
case avatar
|
||||
case avatarsource = "avatarSource"
|
||||
case avatarstatus = "avatarStatus"
|
||||
case avatarreason = "avatarReason"
|
||||
case emoji
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user