Skip to content

docs: consolidate 1.16.1 provider guide corrections - #2565

Merged
jxnl merged 9 commits into
mainfrom
codex/1.16.1-docs
Aug 29, 2026
Merged

jxnl merged 9 commits into
mainfrom
codex/1.16.1-docs

Conversation

@jxnl

@jxnl jxnl commented Aug 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • correct the Mistral optional-extra name in both installation guides
  • document the xAI Python 3.10+ dependency requirement
  • document Cerebras request-parameter forwarding with a runnable example
  • repair the Langfuse sync, async, and scoring examples and clean up matching extraction typos
  • extend the fail-closed one-retry policy to the Auto Client live-provider lane
  • finalize the 1.16.1 changelog across the merged security, runtime, CI, and documentation work

Consolidated work

Supersedes #2550, #2554, #2556, #2561, and #2562.

The five original contributor commits and authors are preserved. Consolidation follow-ups make the Cerebras snippet self-contained, repair all three Langfuse examples, complete matching typo cleanup, and keep transient live-provider retries narrow and fail-closed.

Final changelog resolution

  • leaves the required [Unreleased] section empty
  • dates 1.16.1 as 2026-08-28
  • includes the merged remote-fetch, supply-chain, and release-workflow hardening
  • preserves every reliability, provider-correctness, CI, and contributor-linked documentation entry

Validation

  • exact head: 67dd5f5a9b96c0e16a39a5f0b5086e22ba8783b8 on merged runtime main 5053d7bb7178a342e49bdee8c262aaa9adb1d48a
  • release validator reports 1.16.1
  • release-validator tests: 8 passed
  • all three Langfuse Python blocks parse
  • full MkDocs build passes with only the recorded pre-existing Griffe, nav, and link warnings
  • git diff --check passes
  • exact-head CI, all live-provider lanes, Release Readiness, wheel smokes, and Workers pass
  • exact-head Codex Security diff scan covers all 13 changed files with 0 findings and no deferred work

Strict MkDocs mode reaches the complete build but promotes three pre-existing Griffe annotation warnings in untouched runtime files to errors; this PR does not widen into those unrelated typing changes.

Intentionally separate

  • provider additions, architecture work, broad dependency updates, and unclear provider semantics remain outside this patch release
  • no runtime library behavior is introduced; the only non-doc change is the bounded CI retry

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 27, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
instructor 67dd5f5 Commit Preview URL

Branch Preview URL
Aug 28 2026, 03:11 PM

Base automatically changed from codex/1.17-maintenance to main August 27, 2026 17:23
@jxnl
jxnl marked this pull request as ready for review August 28, 2026 03:22
@jxnl
jxnl requested review from jxnl-oai and vm August 28, 2026 06:10
@jxnl

jxnl commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator Author

Security review completed against exact head adb85713cda42a6643aa8748fb149cd6e91acd1a and final base b16228d60bf65eacb4404d5e2e60e0ab2f9aa91d with no findings.

All 12 documentation/changelog changes were reviewed, including install extras, the xAI Python marker, the runnable Cerebras example, and its external reference. The changed package guidance matches pyproject.toml; no credentials, dangerous local sinks, safety-control changes, or runtime paths were introduced.

Validation: MkDocs build and git diff --check pass; the build reports only the recorded pre-existing Griffe/link warnings.

@jxnl
jxnl force-pushed the codex/1.16.1-docs branch from adb8571 to faa94b9 Compare August 28, 2026 06:17
@jxnl

jxnl commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator Author

Exact-head security refresh completed after the clean rebase onto merged main. Codex Security scan fea6e30f-2fe9-4851-9bb2-ced00712c933 reviewed all 12 changed documentation/changelog files at faa94b9ddd7101c3384d006ea4d918d1713908f9 and found no security issues. The install extras/Python marker remain aligned with project metadata, examples contain no credentials or unsafe local sink, and TAC status could not be verified because the access connector was unavailable. Fresh final-base Ruff, strict type checking, full test/provider matrices, release artifacts, wheel smokes, and Workers all pass.

@jxnl
jxnl enabled auto-merge August 28, 2026 06:27
@jxnl
jxnl force-pushed the codex/1.16.1-docs branch from faa94b9 to ef433bc Compare August 28, 2026 06:48
@jxnl

jxnl commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator Author

Final exact-head security and validation update for ef433bca0e0d5971f75cca7c18b421622f79b381 on security-hardened main 000d893e2ece467d40e395f6ded37250dc732480:

  • Codex Security diff scan 35205e43-37bc-4af8-92a0-f4812a88cc9a completed with no findings across all 12 changed documentation and changelog files.
  • The patch is unchanged by the rebase, git diff --check passes, and a clean MkDocs build completes with only pre-existing link/Griffe warnings.
  • All deterministic CI lanes are green. The live Cohere lane is being rerun after intermittent provider-side 422 responses; the identical lane passed on PR fix: consolidate 1.16.1 response correctness #2566.

TAC status was unavailable, so protected-output visibility could not be verified; this did not limit manual coverage of the Markdown diff.

jxnl added a commit that referenced this pull request Aug 28, 2026
## Summary

- preserve every Anthropic batch system instruction during request
conversion
- reject AWS-documented unsupported Bedrock schema constraints locally
without misclassifying property names that resemble constraint keywords
- preserve caller-owned Bedrock nested inference configuration and
Gemini safety mappings during normalization
- preserve `TypedDict` `total=False`, `Required`, and `NotRequired`
semantics for top-level and iterable response models
- retry only failed live-provider tests once while keeping setup,
collection, repeated, and other failures red
- record the runtime and CI corrections in the `1.16.1` changelog

## Consolidated work

Supersedes #2530, #2532, #2551, #2552, and #2568. Closes #2567.

The original provider contributor commits and authors are preserved.
Follow-up coverage expands the Bedrock regression matrix across nested
schema paths, proves outgoing nested mappings are copied, and covers
mixed Anthropic system content. The TypedDict patch is consolidated
through one shared conversion helper; unlike #2568, it preserves
explicit `Required` keys inside `total=False` definitions and fixes the
iterable path as well.

## Validation

- exact head: `e1e59211e5e0a02fe49a2cc52c07060934512397` on
security-hardened main `000d893e2ece467d40e395f6ded37250dc732480`
- release validator and wheel smoke tests report `1.16.1` on Python 3.9
and 3.13
- 133 focused deterministic tests passed locally across response-model,
iterable, Bedrock, Gemini, batch, and remote-fetch interactions
- full statement and branch coverage gate passes; offline coverage
passes on Python 3.9-3.13
- Ruff lint/format and strict source/test `ty` checks pass
- the workflow YAML parses, its shell block passes syntax validation,
and `git diff --check` is clean
- the complete exact-head GitHub matrix is green, including every
configured provider suite and Workers
- the mixed-provider lane observed two provider-side Cohere 422
responses, reran exactly those two failed node IDs once, and both passed
- Codex Security full-range scan `ae875b7c-14cf-4dc7-a19f-91ad8f812786`
completed with no findings across seven runtime, schema, mutation, and
workflow surfaces
- Codex Security incremental scan `2e87410f-1846-497c-ad22-9317449c63cd`
completed with no findings on the final fail-closed workflow guard

## Intentionally separate

- #2557 remains open because official Google GenAI materials conflict on
function-response roles and the source PR has no provider-wire evidence
resolving the ambiguity
- OpenAI v3, async validators, Gemini tool-history conversion, Bedrock
bearer authentication, provider additions, dependency batches, and
architecture work remain outside this patch-sized consolidation
- Dependabot PRs #2570-#2575 remain separate because they are major
action updates or a broad Python dependency batch
- the documentation-only consolidation remains in #2565

TAC status was unavailable, so protected scan-output visibility could
not be verified; source coverage was complete.
hata333 and others added 7 commits August 28, 2026 07:39
The pyproject.toml defines the optional dependency extra as `mistral`
(not `mistralai` — that is the installed package name), but two
installation guides told users to run `pip install "instructor[mistralai]"`.

Because the `mistralai` extra does not exist, the command silently
installs Instructor without the `mistralai` SDK, so the user's first
`import mistralai` fails with ModuleNotFoundError.

Changed `instructor[mistralai]` → `instructor[mistral]` in:
- docs/getting-started.md
- docs/learning/getting_started/installation.md

This now matches pyproject.toml and the already-correct
docs/integrations/mistral.md.
Constraint: Instructor supports Python 3.9, while xai-sdk is installed only on Python 3.10+
Rejected: Change the xAI dependency marker | Provider SDK compatibility is an external constraint
Confidence: high
Scope-risk: narrow
Directive: Keep provider installation guides aligned with their optional dependency markers
Tested: git diff --check; verified pyproject.toml xai marker requires Python 3.10+
Not-tested: Full MkDocs build
@jxnl
jxnl force-pushed the codex/1.16.1-docs branch from ef433bc to 7a1385c Compare August 28, 2026 14:42
@jxnl
jxnl merged commit 2b64e49 into main Aug 29, 2026
25 checks passed
@jxnl
jxnl deleted the codex/1.16.1-docs branch August 29, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants