Files
splinter/tests
lotherk 42c11f95c7 providers: a 3s connect timeout, one model-list path, a tmux test of its own
The model-list probe hung on a host that accepted no connection and the
delegate list had a second, worse way to ask: popen(curl) without the key and
a line-by-line "id" scan that saw only the first model in one-line JSON.

- http_get(): --connect-timeout 3, -m 8 for the answer. Every provider
  probe (/v1/models, usage/balance) uses it.
- delegate_list probe=1 builds an sp_provider and calls sp_provider_served(),
  so it sends the key, reads the JSON and lists every model.
- The route stays <endpoint>/models: /v1/models for opencode, ollama.com,
  api.anthropic.com and the junction gateway (verified against all four).
- test_tmux unsets TMUX/TMUX_PANE and points TMUX_TMPDIR at its own temp
  dir: no session, window or keystroke on the user's server. The literal "x"
  probe text is gone.

make check: all tests passed.
2026-11-16 15:28:38 +00:00
..