[PR #11678] fix: session title generation with OpenAI models. #13894

Closed
opened 2026-02-16 18:18:43 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11678

State: closed
Merged: Yes


Summary

Fix session title generation with OpenAI models.

Problem

When using OpenAI models (e.g., openai/gpt-5.1-codex-mini) as the small_model config for title generation, the API call fails with:

"Store must be set to false"

The codebase has two paths for provider options:

  1. options() - Used for normal messages, correctly sets store: false
  2. smallOptions() - Used for title generation, was missing store: false

Solution

Added store: false to the return values in smallOptions() for OpenAI models

Similar logic used in:
https://github.com/anomalyco/opencode/blob/91f2ac3cb27c209532ef104cfcab139279881ace/packages/opencode/src/provider/transform.ts#L585-L592

Fixes

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11678 **State:** closed **Merged:** Yes --- ## Summary Fix session title generation with OpenAI models. ## Problem When using OpenAI models (e.g., `openai/gpt-5.1-codex-mini`) as the `small_model` config for title generation, the API call fails with: ``` "Store must be set to false" ``` The codebase has two paths for provider options: 1. `options()` - Used for normal messages, correctly sets `store: false` 2. `smallOptions()` - Used for title generation, was missing `store: false` ## Solution Added `store: false` to the return values in `smallOptions()` for OpenAI models Similar logic used in: https://github.com/anomalyco/opencode/blob/91f2ac3cb27c209532ef104cfcab139279881ace/packages/opencode/src/provider/transform.ts#L585-L592 ## Fixes - Fixes #11442 - Fixes #7965 - Fixes #2966
yindo added the pull-request label 2026-02-16 18:18:43 -05:00
yindo closed this issue 2026-02-16 18:18:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13894