Skip to content

Refuse inverted or empty OpenAI speech-to-text words - #202

Merged
jmjava merged 2 commits into
mainfrom
cursor/openai-stt-word-order
Nov 1, 2026
Merged

jmjava merged 2 commits into
mainfrom
cursor/openai-stt-word-order

Conversation

@jmjava

@jmjava jmjava commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • OpenAI speech-to-text words and segments skipped the ordered-interval and non-empty token contract already required for Grok.
  • Those timings are now refused, and unit tests fail if the checks are removed.

Test plan

  • tests/test_ai_client.py covers an inverted word, an empty word, and an inverted segment
  • complexity and hotspot gates pass against origin/main

Made with Cursor

jmjava and others added 2 commits November 1, 2026 14:13
OpenAI word and segment timings skipped the ordered-interval contract already required for Grok.
The fixture still runs, without adding unused clear_ai_env parameters.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jmjava
jmjava merged commit 5b101a9 into main Nov 1, 2026
8 checks passed
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.

1 participant