



























@@ -24,6 +24,7 @@ export const EXPECTED_CODEX_MODELS_COMMAND_TEXT = [
2424"`codex` is not installed in the shell environment",
2525"`codex models` didn’t return a plain list in this environment",
2626"I couldn’t get a direct `codex models` CLI listing because the local sandbox blocked that command.",
27+"I couldn’t get `/codex models` from the shell here.",
2728"I couldn’t list all installed/available Codex models from the local CLI because the sandboxed `codex` command failed to start in this environment.",
2829"I couldn’t get `codex models` from the CLI because the sandbox blocks the namespace setup it needs",
2930"I can only see the current session model from this environment",
@@ -139,6 +140,7 @@ export function isExpectedCodexModelsCommandText(text: string): boolean {
139140normalized.includes("could not run") ||
140141normalized.includes("could not be run") ||
141142normalized.includes("failed in this sandbox") ||
143+normalized.includes("failed because") ||
142144normalized.includes("failed with:") ||
143145normalized.includes("fails to start") ||
144146normalized.includes("repo-local fallback") ||
@@ -163,6 +165,7 @@ export function isExpectedCodexModelsCommandText(text: string): boolean {
163165normalized.includes("command not found") ||
164166normalized.includes("not installed") ||
165167normalized.includes("required user namespace") ||
168+normalized.includes("unprivileged user namespaces") ||
166169normalized.includes("user-namespace restriction") ||
167170normalized.includes("bwrap: no permissions to create a new namespace"));
168171@@ -173,6 +176,7 @@ export function isExpectedCodexModelsCommandText(text: string): boolean {
173176const mentionsSessionModel =
174177normalized.includes("current session is using") ||
175178normalized.includes("current session model") ||
179+normalized.includes("current session model from openclaw status") ||
176180normalized.includes("visible session model") ||
177181normalized.includes("the current session is using");
178182const mentionsConfigSummary =
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。