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
@andy1-2
andy1-2 deployed to issue-triage October 8, 2026 16:27 — with Image GitHub Actions Active
@andy1-2
andy1-2 deployed to issue-triage October 8, 2026 16:27 — with Image GitHub Actions Active
@andy1-2
andy1-2 deployed to issue-triage October 8, 2026 16:27 — with Image GitHub Actions Active
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 8, 2026
@andy1-2
andy1-2 deployed to issue-triage October 8, 2026 16:28 — with Image GitHub Actions Active
@kymonr
kymonr deployed to issue-triage October 8, 2026 16:39 — with Image GitHub Actions Active
@kymonr
kymonr deployed to issue-triage October 8, 2026 16:39 — with Image GitHub Actions Active
@kymonr
kymonr deployed to issue-triage October 8, 2026 16:39 — with Image GitHub Actions Active
@grtninja
grtninja deployed to issue-triage October 8, 2026 16:42 — with Image GitHub Actions Active
@grtninja
grtninja deployed to issue-triage October 8, 2026 16:42 — with Image GitHub Actions Active
@grtninja
grtninja deployed to issue-triage October 8, 2026 16:42 — with Image GitHub Actions Active
@grtninja
grtninja deployed to issue-triage October 8, 2026 16:43 — with Image GitHub Actions Active
@jaylumian
jaylumian deployed to issue-triage October 8, 2026 16:47 — with Image GitHub Actions Active
@jaylumian
jaylumian deployed to issue-triage October 8, 2026 16:47 — with Image GitHub Actions Active
@jaylumian
jaylumian deployed to issue-triage October 8, 2026 16:47 — with Image GitHub Actions Active
@linonetwo
linonetwo deployed to issue-triage October 8, 2026 16:49 — with Image GitHub Actions Active
@linonetwo
linonetwo deployed to issue-triage October 8, 2026 16:49 — with Image GitHub Actions Active
@linonetwo
linonetwo deployed to issue-triage October 8, 2026 16:49 — with Image GitHub Actions Active
@athlon-cuomo
athlon-cuomo deployed to issue-triage October 8, 2026 16:55 — with Image GitHub Actions Active
@athlon-cuomo
athlon-cuomo deployed to issue-triage October 8, 2026 16:55 — with Image GitHub Actions Active
@athlon-cuomo
athlon-cuomo deployed to issue-triage October 8, 2026 16:55 — with Image GitHub Actions Active
@Ricardo1884
Ricardo1884 deployed to issue-triage October 8, 2026 16:58 — with Image GitHub Actions Active

This branch was successfully deployed

1 active 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.