Build provider requests directly as payloads

This commit is contained in:
2026-11-05 19:53:41 +00:00
parent 448e64dc40
commit 0dec3dcec0
2 changed files with 26 additions and 70 deletions

View File

@@ -97,6 +97,11 @@ where fixture migration remains. No production construction supplies the removed
## Stage 2: Encode One Root Wire Representation
**Completed:** Requests now build the provider payload directly, with structured
dispatch evidence derived from that payload. Go 1.27.3 `go test ./internal/llm
./internal/generation` passed, including mapping, presence, payload freezing,
session, structured-output, and encoding-failure tests.
**Finding:** 2. **Files:** `internal/llm/openai_compatible_client.go` and request-mapping tests.
1. Replace the root `domain request -> openAIChatRequest -> map` sequence with