fix: modernize dependency recovery guidance (#5282)

This commit is contained in:
chengyongru authored and GitHub committed 2026-08-07 13:58:13 +08:00
1 parent 02a002a0e6
commit ff6deda178
15 files changed
+113 -29

No files matched your search

+4 -1
View File
@@ -686,7 +686,10 @@ def test_provider_login_openai_codex_handles_missing_oauth_symbol(monkeypatch):
result = runner.invoke(app, ["provider", "login", "openai-codex"])
assert result.exit_code == 1
assert "oauth_cli_kit not installed" in result.stdout
assert (
"This nanobot installation is missing the required oauth-cli-kit package. "
"Reinstall or upgrade nanobot-ai using the same installation method."
) in re.sub(r"\s+", " ", result.stdout)
assert result.exception is not None