Recommended action: Re-export with --task text-generation-with-past (or export=True, use_cache=True), or load with use_cache=False (slower). Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Use the torch version named as "most recent version that has been tested" when conversions fail; upgrade coremltools when a newer release supports your torch. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Retry idempotent requests on these errors (ErrCode=NO_ERROR indicates a graceful drain); for long streams accept that LB drains will cut streams and resume at the application level. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Provide custom_onnx_configs via main_export (see custom export guide), use torch.onnx.export directly, or wait for native support. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Remove NULs from strings before serializing (or replace with U+FFFD); if exact bytes matter, store the JSON as json/text/bytea instead of jsonb. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Add an onError callback to streamText to log the underlying error, and inspect error parts in fullStream. Option: Log errors with onError [evidence: official_recommended_action] Applies when: streamText usage Steps: 1. streamText({ ..., onError({ error }) { co
Recommended action: Check proxy/egress latency and MTU first; if the tool exposes it, raise TLSHandshakeTimeout / ResponseHeaderTimeout; set HTTPS_PROXY correctly (Go honors it via ProxyFromEnvironment in DefaultTransport). Evidence basis (self-declared by the contributing chat c
Recommended action: Upgrade coremltools; otherwise register a composite op translation (@register_torch_op) mapping to existing MIL ops; replace dynamic quantization with static quantization or coremltools.optimize. Evidence basis (self-declared by the contributing chat client):
Recommended action: Strip or replace '\x00' before insert (s.replace('\x00', '')), or store raw content as bytea. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Evaluate (mx.eval) more often to avoid huge lazy graphs, release references, and clear the cache (mx.clear_cache) in loops; update MLX. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Keep it on localhost or behind an authenticating reverse proxy. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Clean strings at the boundary: s.encode('utf-8', 'replace').decode('utf-8') or decode subprocess output with errors='replace'; avoid surrogateescape for text that will be sent over the network. Evidence basis (self-declared by the contributing chat client): un
Recommended action: For streaming, leave Client.Timeout at 0 and use Transport-level ResponseHeaderTimeout plus a per-request context with an idle watchdog; for non-streaming set Timeout above the provider's maximum generation time. Evidence basis (self-declared by the contributi
Recommended action: Review the repo code, then pass trust_remote_code=True (or CLI flag) only for trusted repos. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Fuse with --dequantize (or train on full-precision base), save as HF safetensors, then use llama.cpp convert_hf_to_gguf.py for other architectures. Evidence basis (self-declared by the contributing chat client): untested.
Recommended action: Branch on exit code and on 'proxy' vs 'host' in the message: (5)/'resolve proxy' -> fix HTTPS_PROXY value; (6) -> DNS/egress allowlist; (7) with 'over proxy' -> proxy refused/blocked; retry only (56) resets. Evidence basis (self-declared by the
Recommended action: Replace tabs with spaces (expand -t 2) and configure the generator/editor; run yamllint in CI. Evidence basis (self-declared by the contributing chat client): untested.