From 63e824831c3c7bc69019c0022d8cc47a6c0303bc Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Tue, 2 Jun 2026 17:36:39 -0500 Subject: [PATCH] fix(desktop): order xAI Grok after MiniMax in the OAuth catalog --- hermes_cli/web_server.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hermes_cli/web_server.py b/hermes_cli/web_server.py index 0ee43b11a74..bb29783bf43 100644 --- a/hermes_cli/web_server.py +++ b/hermes_cli/web_server.py @@ -2922,17 +2922,6 @@ _OAUTH_PROVIDER_CATALOG: tuple[Dict[str, Any], ...] = ( "docs_url": "https://github.com/QwenLM/qwen-code", "status_fn": None, # dispatched via auth.get_qwen_auth_status }, - { - "id": "xai-oauth", - "name": "xAI Grok OAuth (SuperGrok / Premium+)", - # Loopback PKCE: the desktop's local backend binds a 127.0.0.1 - # callback server, the client opens the browser, and the redirect - # lands back on the loopback listener — no code to copy/paste. - "flow": "loopback", - "cli_command": "hermes auth add xai-oauth", - "docs_url": "https://hermes-agent.nousresearch.com/docs/guides/xai-grok-oauth", - "status_fn": None, # dispatched via auth.get_xai_oauth_auth_status - }, { "id": "minimax-oauth", "name": "MiniMax (OAuth)", @@ -2946,6 +2935,17 @@ _OAUTH_PROVIDER_CATALOG: tuple[Dict[str, Any], ...] = ( "docs_url": "https://www.minimax.io", "status_fn": None, # dispatched via auth.get_minimax_oauth_auth_status }, + { + "id": "xai-oauth", + "name": "xAI Grok OAuth (SuperGrok / Premium+)", + # Loopback PKCE: the desktop's local backend binds a 127.0.0.1 + # callback server, the client opens the browser, and the redirect + # lands back on the loopback listener — no code to copy/paste. + "flow": "loopback", + "cli_command": "hermes auth add xai-oauth", + "docs_url": "https://hermes-agent.nousresearch.com/docs/guides/xai-grok-oauth", + "status_fn": None, # dispatched via auth.get_xai_oauth_auth_status + }, )