Skip to content

no topk for openai test#234

Merged
Alex Z (CLowbrow) merged 2 commits into
mainfrom
alex/no-openai-topk
May 11, 2026
Merged

no topk for openai test#234
Alex Z (CLowbrow) merged 2 commits into
mainfrom
alex/no-openai-topk

Conversation

@CLowbrow
Copy link
Copy Markdown
Contributor

Add regression coverage for Google GenAI requests that include generationConfig.topK and are routed to OpenAI models: payloads/cases/params.ts now has a focused googleOpenAIModelTopKParam case, new Rust transform tests assert Google-shaped requests targeting Chat Completions or Responses drop unsupported top_k while preserving maxOutputTokens, and the payload fixtures/snapshots were regenerated to lock in the expected transforms.

https://linear.app/braintrustdata/issue/BT-4737/topk-definition-crashes-with-openai-models-in-google-sdk

@CLowbrow Alex Z (CLowbrow) changed the title no topk for openai no topk for openai test May 11, 2026
@CLowbrow Alex Z (CLowbrow) merged commit 55e87a1 into main May 11, 2026
7 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.

2 participants