[P1] ZARA-016 — Correct LLM provider contracts #55

Merged
lost-rob0t merged 3 commits from fix/zara-016-llm-provider-contracts into master 2026-07-19 06:28:04 +00:00
lost-rob0t commented 2026-07-19 06:20:12 +00:00 (Migrated from github.com)

Closes #17

Summary

  • serialize valid Anthropic, OpenAI, and Ollama requests in Python and Prolog
  • use literal authentication headers and provider-safe endpoint defaults
  • add independent connect, read, and total timeouts with bounded retries and typed cancellation/errors
  • reuse and close Python sessions and Prolog keep-alive streams
  • bound conversation history consistently and preserve compatibility wrappers without masking failures
  • add loopback-only golden and fake-server protocol coverage

Validation

  • focused gate: 17 Python and 13 Prolog provider tests passed
  • exact full Nix gate: 134 pytest plus every integration script passed
  • nix build passed

The branch includes normal master merge commit 6876202; no rebase was used.

Closes #17 ## Summary - serialize valid Anthropic, OpenAI, and Ollama requests in Python and Prolog - use literal authentication headers and provider-safe endpoint defaults - add independent connect, read, and total timeouts with bounded retries and typed cancellation/errors - reuse and close Python sessions and Prolog keep-alive streams - bound conversation history consistently and preserve compatibility wrappers without masking failures - add loopback-only golden and fake-server protocol coverage ## Validation - focused gate: 17 Python and 13 Prolog provider tests passed - exact full Nix gate: 134 pytest plus every integration script passed - nix build passed The branch includes normal master merge commit 6876202; no rebase was used.
Sign in to join this conversation.
No description provided.