Commit Graph
2 Commits
Author SHA1 Message Date
kenyonxu 37f508a2ed fix: support HTTP proxy and ensure non-empty error messages
- Enable trust_env=True in aiohttp ClientSession so Civitai API requests
  respect HTTP_PROXY/HTTPS_PROXY environment variables (required in regions
  where Civitai is blocked, e.g. mainland China behind mihomo/clash).
- Add _err_msg() helper to handle exceptions with empty str() (e.g.
  TimeoutError, certain aiohttp errors) by falling back to repr().
- Replace all bare str(e) in error responses with _err_msg(e) so users
  always see a meaningful error description.
2026-04-21 16:37:03 +08:00
kenyonxu 47193575d6 feat: initial implementation of KaiCivitaiLoRALoader
- Cache manager with JSON read/write, TTL, corruption handling
- Civitai client with SHA256 hash (sync+async) and API fetch
- KaiCivitaiLoRALoader node with trigger words and JSON output
- Node registration, HTTP routes, and secure image serving
- Frontend extension with image preview, pagination, and NSFW blur
- 49 unit tests covering all modules
2026-04-20 23:03:48 +08:00