diff --git a/CHANGE_LOG.md b/CHANGE_LOG.md index 55b7999..4622d88 100755 --- a/CHANGE_LOG.md +++ b/CHANGE_LOG.md @@ -9,6 +9,7 @@ - Fixed mobile session content obscuring the bottom input box - Refactored function calling invocation logic and fixed bugs - Fixed the "drift" of the drop-down selection box when selecting a new session model +- Fix the issue of squeezed avatars in the conversation list. ### Add diff --git a/CHANGE_LOG.zh_CN.md b/CHANGE_LOG.zh_CN.md index 88e9299..f55a281 100755 --- a/CHANGE_LOG.zh_CN.md +++ b/CHANGE_LOG.zh_CN.md @@ -9,6 +9,7 @@ - 修复移动端会话内容遮挡底部输入框的问题 - 重构 function calling 的调用逻辑,修复 bug - 修复新会话选择模型时,下拉选择框出现“漂移”的情况 +- 修复会话列表头像被挤压的问题 ### 新增 diff --git a/src/components/chatSection/chatList/avatar.tsx b/src/components/chatSection/chatList/avatar.tsx index f09d907..b9af688 100644 --- a/src/components/chatSection/chatList/avatar.tsx +++ b/src/components/chatSection/chatList/avatar.tsx @@ -19,10 +19,13 @@ function renderAssistantIcon(model?: ChannelModel) { if (type === "openai") { return (
@@ -32,7 +35,7 @@ function renderAssistantIcon(model?: ChannelModel) { } if (type === "azure") { return ( -
+
@@ -42,7 +45,7 @@ function renderAssistantIcon(model?: ChannelModel) { if (type === "openRouter") { if (model.name.includes("anthropic")) { return ( -
+
+
PaLM
); } if (model.name.includes("meta-llama")) { return ( -
+
🦙
); @@ -85,7 +88,7 @@ export default function Avatar(props: AvatarProps) { return (