mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 01:07:46 +00:00
refactor: centralize tool status symbols in constants (#7054)
This commit is contained in:
@@ -19,3 +19,13 @@ export const SHELL_COMMAND_NAME = 'Shell Command';
|
||||
export const SCREEN_READER_USER_PREFIX = 'User: ';
|
||||
|
||||
export const SCREEN_READER_MODEL_PREFIX = 'Model: ';
|
||||
|
||||
// Tool status symbols used in ToolMessage component
|
||||
export const TOOL_STATUS = {
|
||||
SUCCESS: '✓',
|
||||
PENDING: 'o',
|
||||
EXECUTING: '⊷',
|
||||
CONFIRMING: '?',
|
||||
CANCELED: '-',
|
||||
ERROR: 'x',
|
||||
} as const;
|
||||
|
||||
Reference in New Issue
Block a user