Skip to content

Commit a05c6f7

Browse files
committed
Update chatbot icon mappings for Z China and Z Global variants
1 parent a3146b4 commit a05c6f7

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎apps/editor/src/views/prompt/frontend/Main/MainView/MainView.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ const chatbot_to_icon: Record<keyof typeof CHATBOTS, Icon.Variant> = {
173173
Qwen: 'QWEN',
174174
Together: 'TOGETHER',
175175
Yuanbao: 'YUANBAO',
176-
Z: 'Z_AI'
176+
'Z (China)': 'Z_AI',
177+
'Z (Global)': 'Z_AI'
177178
}
178179

179180
export const MainView: React.FC<Props> = (props) => {

‎apps/editor/src/views/settings/frontend/Home/sections/WebSection.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ const chatbot_to_icon: Record<keyof typeof CHATBOTS, Icon.Variant> = {
5858
Qwen: 'QWEN',
5959
Together: 'TOGETHER',
6060
Yuanbao: 'YUANBAO',
61-
Z: 'Z_AI'
61+
'Z (China)': 'Z_AI',
62+
'Z (Global)': 'Z_AI'
6263
}
6364

6465
export const WebSection = forwardRef<HTMLDivElement, Props>((props, ref) => {

0 commit comments

Comments
 (0)