fix: preserve Nous runtime auth path label

This commit is contained in:
HODLCLONE 2026-06-21 18:28:41 -04:00 committed by Teknium
parent 19fb1adf44
commit 70f8b96d17

View file

@ -5940,7 +5940,11 @@ def resolve_nous_runtime_credentials(
"expires_at": expires_at,
"expires_in": expires_in,
"source": NOUS_AUTH_PATH_INVOKE_JWT,
"auth_path": str(state_source_path or _auth_file_path()),
# Preserve the public semantic source label while exposing the concrete
# store separately for diagnostics. Refresh persistence uses
# state_source_path internally and must not overload this field.
"auth_path": NOUS_AUTH_PATH_INVOKE_JWT,
"state_path": str(state_source_path or _auth_file_path()),
}