Skip to content

[codex] consolidate docs and audio validation fixes#2400

Draft
jxnl wants to merge 1 commit into
mainfrom
codex/weekly-maintenance-2026-06-29
Draft

[codex] consolidate docs and audio validation fixes#2400
jxnl wants to merge 1 commit into
mainfrom
codex/weekly-maintenance-2026-06-29

Conversation

@jxnl

@jxnl jxnl commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Consolidates four compact, low-risk maintenance fixes from the open queue:

Superseded PRs / Issues

Validation

  • git diff --check
  • UV_CACHE_DIR=/private/tmp/uv-cache uv run pytest tests/v2/test_core_multimodal_runtime.py -q -> 23 passed
  • UV_CACHE_DIR=/private/tmp/uv-cache uv run ruff check instructor/v2/core/multimodal.py tests/v2/test_core_multimodal_runtime.py examples/crm/run.py
  • pre-commit on commit: Ruff check, Ruff format, uv.lock check skipped, dependency install/export hooks skipped, ty passed
  • targeted content check confirmed the old malformed docs link, duplicated CRM phrase, stale Gemini Flash-8b wording, and broken Vertex one-line call no longer appear in the touched docs/examples

Skipped Items

Skipped as too broad for this consolidation pass:

Draft Release Notes

  • Audio validation now raises explicit exceptions instead of relying on assert, so invalid audio inputs are rejected consistently even when Python runs with optimizations enabled.
  • Google provider docs now use the current generic mode names and clarify Union, Optional, streaming, and Vertex migration guidance.
  • Fixed two small docs/example quality issues: a broken semantic validation link and a duplicated word in the CRM example prompt.

Draft Tweet

small instructor cleanup this week

fixed audio validation so it does not depend on python asserts, cleaned up a few google docs lies, and patched a couple tiny docs papercuts

not flashy, but this is the kind of maintenance that keeps examples and error paths honest

@cloudflare-workers-and-pages

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 15e9f4a Commit Preview URL

Branch Preview URL
Jun 29 2026, 04:57 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation (at least Google-related) is an outdated mess.

1 participant