docs(language-models): worked example and provider message models #759

Merged
argus merged 1 commit from loop/741-language-models-example into main 2026-11-13 16:04:35 +00:00
Collaborator

Docs-only slice of #88: section 3 of docs/design/LANGUAGE-MODELS.md becomes the worked example (Anthropic turn, tool call, tool result, streamed answer, continued on OpenAI), a cited comparison of Anthropic, OpenAI (Responses, Chat Completions), Gemini, Mistral and a local server (read 2026-11-13), findings F1-F13 with decisions and costs, and gaps G1-G9. Two findings (F4, F6) contradict section 1 and are listed, not fixed. No code exists yet.

Refs #88
Closes #741

Docs-only slice of #88: section 3 of docs/design/LANGUAGE-MODELS.md becomes the worked example (Anthropic turn, tool call, tool result, streamed answer, continued on OpenAI), a cited comparison of Anthropic, OpenAI (Responses, Chat Completions), Gemini, Mistral and a local server (read 2026-11-13), findings F1-F13 with decisions and costs, and gaps G1-G9. Two findings (F4, F6) contradict section 1 and are listed, not fixed. No code exists yet. Refs #88 Closes #741
docs(language-models): worked example and provider message models
All checks were successful
ci / commit messages (pull_request) Successful in 8s
ci / what the change touches (pull_request) Successful in 9s
ci / the VS Code extension (editors/vscode) (pull_request) Has been skipped
pdisc / pdisc (pull_request) Successful in 16s
ci / which runners exist (pull_request) Successful in 1s
ci / bootstrap and conformance (windows-x64) (pull_request) Has been skipped
ci / bootstrap and conformance (linux-arm64) (pull_request) Has been skipped
ci / bootstrap and conformance (macos-arm64) (pull_request) Has been skipped
ci / bootstrap (linux-x64) (pull_request) Successful in 6m10s
ci / tier B (linux-x64) (pull_request) Has been skipped
ci / tools/release-sync and tools/registry (linux-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (windows-x64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (linux-arm64) (pull_request) Has been skipped
ci / cross-compiled on linux-x64 (macos-arm64) (pull_request) Has been skipped
ci / every host emits the same C (pull_request) Has been skipped
ci / the playground (torb as WebAssembly) (pull_request) Has been skipped
ci / conformance (JavaScript under Node.js) (pull_request) Successful in 1m47s
ci / conformance (PHP 5.6, 7.4 and 8.4) (pull_request) Successful in 3m6s
ci / tier A (linux-x64) (pull_request) Successful in 36m44s
ci / pack the seed (pull_request) Successful in 15s
ci / archives (pull_request) Has been skipped
ci / gates (pull_request) Successful in 0s
7fef36d88a
argus approved these changes 2026-11-13 16:04:34 +00:00
argus left a comment

Approved at 7fef36d.

  • Tests/CI: docs-only change; combined status success on this head (commit messages, pdisc, bootstrap, tier A, conformance green; the rest skipped as not touched).
  • Correctness: the worked example, both wire messages and the side-by-side table are consistent with each other; F4 and F6 are listed as contradictions of section 1 and not silently fixed, as #741 asks. Unread cells say "not read".
  • Scope: only docs/design/LANGUAGE-MODELS.md; one Conventional Commit; Refs #88, Closes #741 as specified. No code, seed or std change.
  • Security/secrets: none in the diff; keys and model ids come from the environment, no private links or chat quotes.
  • Data/Docs/Architecture/Placement: n/a for a design record; the status line is updated, and the section states that no code exists.

Non-blocking:

  1. The Responses request in 3.4 omits "store": false, although F5 decides every request carries the whole thread with store: false where the wire has it.
  2. #741 asks that the section end by stating that no code exists yet; that sentence is at the end of 3.7, followed by 3.8.
  3. Sources are listed per provider rather than per table row; fine as is, a per-row link would match #741 more literally.
Approved at 7fef36d. - Tests/CI: docs-only change; combined status success on this head (commit messages, pdisc, bootstrap, tier A, conformance green; the rest skipped as not touched). - Correctness: the worked example, both wire messages and the side-by-side table are consistent with each other; F4 and F6 are listed as contradictions of section 1 and not silently fixed, as #741 asks. Unread cells say "not read". - Scope: only `docs/design/LANGUAGE-MODELS.md`; one Conventional Commit; `Refs #88`, `Closes #741` as specified. No code, seed or std change. - Security/secrets: none in the diff; keys and model ids come from the environment, no private links or chat quotes. - Data/Docs/Architecture/Placement: n/a for a design record; the status line is updated, and the section states that no code exists. Non-blocking: 1. The Responses request in 3.4 omits `"store": false`, although F5 decides every request carries the whole thread with `store: false` where the wire has it. 2. #741 asks that the section end by stating that no code exists yet; that sentence is at the end of 3.7, followed by 3.8. 3. Sources are listed per provider rather than per table row; fine as is, a per-row link would match #741 more literally.
argus merged commit c1cadce416 into main 2026-11-13 16:04:35 +00:00
argus deleted branch loop/741-language-models-example 2026-11-13 16:04:35 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
torbscript/language!759
No description provided.