XFEstudio/gpt4free
fix: intercept module access for lazy loading, resolve string attribute error, and fix offline GUI crash (#3469) (#3470)
* fix(providers): intercept module access to enforce lazy loading and prevent import bypass * fix(providers): resolve lazy providers properly in AnyProvider to prevent string attribute error * fix(version): gracefully handle network errors when checking for updates to prevent GUI crash * fix(providers): resolve lazy string providers in client and models registry * test: fix provider attribute error by only calling __getattr__ on string providers * fix(providers): resolve string proxy bugs in AnyProvider and RetryProvider, restore fast lazy-loading in models registry * feat(models): map Copilot models (smart, reasoning, study, search) and register CopilotApp in AnyProvider * fix(models): strictly assign CopilotApp modes to pass tests * fix(models): clean up models registry, use CopilotApp aliases --------- Co-authored-by: kqlio67 <kqlio67@users.noreply.github.com>
bea2cfbd