Skip to content

Expose model settings in app-server thread metadata - #42151

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/22ebe8a8d1910a820d90a97730d812a00d8c1372
Sep 1, 2026
Merged

Expose model settings in app-server thread metadata#42151
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/22ebe8a8d1910a820d90a97730d812a00d8c1372

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 1, 2026

Copy link
Copy Markdown

Expose model settings in app-server thread metadata

What changed

  • Add nullable model and reasoningEffort fields to the shared app-server Thread object and generated schemas.
  • Report current settings for loaded threads and the latest persisted settings for unloaded threads across thread read, list, start, resume, rollback, metadata update, and notification paths.
  • Keep unavailable legacy or filesystem-only settings nullable, and allow metadata reads without loading a thread or dispatching queued work.

Testing

  • Cover live-setting precedence, persisted settings after restart, null legacy values, and model metadata returned by thread lifecycle operations.

## What changed

- Add nullable `model` and `reasoningEffort` fields to the shared app-server `Thread` object and generated schemas.
- Report current settings for loaded threads and the latest persisted settings for unloaded threads across thread read, list, start, resume, rollback, metadata update, and notification paths.
- Keep unavailable legacy or filesystem-only settings nullable, and allow metadata reads without loading a thread or dispatching queued work.

## Testing

- Cover live-setting precedence, persisted settings after restart, null legacy values, and model metadata returned by thread lifecycle operations.

GitOrigin-RevId: 22ebe8a8d1910a820d90a97730d812a00d8c1372
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/22ebe8a8d1910a820d90a97730d812a00d8c1372 branch from 3800805 to 986ff1c Compare September 1, 2026 22:57
@copyberry
copyberry Bot merged commit 986ff1c into main Sep 1, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/22ebe8a8d1910a820d90a97730d812a00d8c1372 branch September 1, 2026 22:58
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants