Skip to content

Include current session ID in context #5912

Closed

Description

@rob137

What version of Codex is running?

codex-cli 0.50.0

What subscription do you have?

Team Plan

Which model were you using?

Codex Low

What platform is your computer?

Darwin 25.0.0 arm64 arm

What issue are you seeing?

I have Codex maintain notes files that summarize where we've gotten to within each session. This allows me to chain sessions together in such a way that I wind up using fewer tokens to solve problems. I know the 'compact' feature exists, but it's opaque, and therefore I don't fully trust it when dealing with difficult problems. It would be very useful if the LLM knew which session ID was currently running, because then I could have it refer to the session by ID when writing the notes.

What steps can reproduce the bug?

Uploaded thread: 019a300e-b587-7d81-9e96-9459a635a0cc

Chat to the model and ask it for the session ID - e.g.

› Hi!

• Hey there! How can I help today?

› What's the session ID for this chat?

• I don’t have access to any session ID or similar identifier for this chat.

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Oct 29, 2025
  2. added
    enhancement
    on Oct 29, 2025
  3. added
    context
    and removed
    bug
    on Oct 29, 2025
  4. etraut-openai commented on Nov 15, 2025

    @etraut-openai
    Contributor

    Related to #5348

  5. mbiss10 commented on Nov 20, 2025

    @mbiss10

    +1 to this!

  6. labibrahman commented on Jan 17, 2026

    @labibrahman

    It's ridiculous that this doesn't exist yet.

  7. labibrahman commented on Jan 17, 2026

    @labibrahman

    related to #8923

  8. etraut-openai commented on May 16, 2026

    @etraut-openai
    Contributor

    This feature hasn't received any upvotes or posts in three months, so closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contextenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions