fix(web): hide unsupported Codex slash commands in remote mode (#357)

This commit is contained in:
Qihan
2026-03-25 05:38:25 +08:00
committed by GitHub
parent acda983e02
commit 92885ddef0
8 changed files with 127 additions and 38 deletions
+2
View File
@@ -209,6 +209,8 @@ export default {
'composer.send': 'Send',
'composer.stop': 'Stop',
'composer.voice': 'Voice assistant',
'composer.codexSlashUnsupported.title': 'Codex command unavailable',
'composer.codexSlashUnsupported.body': 'HAPI remote mode does not yet run built-in Codex slash commands like {command}. Use natural language instead, or run it in the local Codex TUI.',
// Voice assistant
'voice.connecting': 'Connecting...',
+2
View File
@@ -211,6 +211,8 @@ export default {
'composer.send': '发送',
'composer.stop': '停止',
'composer.voice': '语音助手',
'composer.codexSlashUnsupported.title': '无法执行 Codex 命令',
'composer.codexSlashUnsupported.body': 'HAPI 远程模式暂不支持 {command} 这类 Codex 内建 slash command,请改用自然语言,或在本地 Codex TUI 中执行。',
// Voice assistant
'voice.connecting': '连接中...',