fix: properly handle 401 error in clound requirement fetch. (#14049)

Handle cloud requirements 401s with the same auth recovery flow as
normal requests, so permanent refresh failures surface the existing
user-facing auth message instead of a generic workspace-config load
error.
This commit is contained in:
xl-openai authored and GitHub committed 2026-03-09 11:14:23 -07:00
1 parent c1f3ef16ec
commit b15cfe9329
3 files changed
+550 -78

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ mod client;
pub mod types;
pub use client::Client;
pub use client::RequestError;
pub use types::CodeTaskDetailsResponse;
pub use types::CodeTaskDetailsResponseExt;
pub use types::ConfigFileResponse;