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
2026-03-09 11:14:23 -07:00
committed by GitHub
parent c1f3ef16ec
commit b15cfe9329
3 changed files with 550 additions and 78 deletions

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;