use crate::tui::constants::AGENT_AVATARS;
pub fn agent_avatar(agent_name: &str) -> &'static str {
let mut hash: u64 = 2_166_136_261;
for byte in agent_name.bytes() {
hash = (hash ^ u64::from(byte.to_ascii_lowercase())).wrapping_mul(16_777_619);
}
AGENT_AVATARS[hash as usize % AGENT_AVATARS.len()]
}