mirror of
https://github.com/zml/zml.git
synced 2026-11-16 19:11:09 +00:00
Every program that reads remote checkpoints wired the same remote schemes by hand: one std.http.Client, then the HTTP, HF, S3 and GCS backends and their registration. The copies had drifted: examples/llm had no https and ignored the proxy variables. VFS.Remotes builds one client on the VFS's base io, with proxies from the environment, sets up https, hf, s3 and gs through each backend's auto constructor and registers all four, or none on error. It is initialized in place, since the backends point at its client. examples/io and examples/llm use it, so examples/llm gains https and proxies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
History
|
|
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| main.zig | ||