Skip to content

Make environment context date and timezone configurable - #52164

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5071ce1701c044b680624d0cdbba7e0bc2b5bbe6
Oct 8, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5071ce1701c044b680624d0cdbba7e0bc2b5bbe6

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Make environment context date and timezone configurable

What changed

Add include_environment_context_time, enabled by default. Setting it to false omits <current_date> and <timezone> while retaining the rest of the environment context, and skips the clock read used to populate the date.

Testing

Extend configuration, session context, and external time provider tests to cover enabled and disabled time fields, context updates across turns, and current-time reminder behavior.

## What changed

Add `include_environment_context_time`, enabled by default. Setting it to `false` omits `<current_date>` and `<timezone>` while retaining the rest of the environment context, and skips the clock read used to populate the date.

## Testing

Extend configuration, session context, and external time provider tests to cover enabled and disabled time fields, context updates across turns, and current-time reminder behavior.

GitOrigin-RevId: 5071ce1701c044b680624d0cdbba7e0bc2b5bbe6
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Note

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5071ce1701c044b680624d0cdbba7e0bc2b5bbe6 branch from 9ca137e to 8c818cb Compare October 8, 2026 16:27
@copyberry
copyberry Bot merged commit 8c818cb into main Oct 8, 2026
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5071ce1701c044b680624d0cdbba7e0bc2b5bbe6 branch October 8, 2026 16:27
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 2026

This branch was previously deployed

1 inactive deployment
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.