mirror of
https://github.com/openai/codex.git
synced 2026-11-24 15:21:20 +00:00
Route extension hints into context-window metadata (#40533)
## What changed - Add a `ContextWindow` prompt slot for thread-scoped extension contributions. - Include fragments in that slot in the token-budget context-window message. - Keep the MCP `notes/thread_hint` bridge when the native history-notes extension is disabled, without falling back to it after a native request failure. GitOrigin-RevId: befcb7cc8570b846094b2b542a112b186b39a30a
This commit is contained in:
1 parent
9c9675d3d0
commit
3a469a297d
4 files changed
+57
-36
No files matched your search
@@ -8,6 +8,8 @@ use codex_protocol::models::ContentItemKind;
|
||||
pub enum PromptSlot {
|
||||
DeveloperPolicy,
|
||||
DeveloperCapabilities,
|
||||
/// Text inside the context-window message, supplied by `contribute_thread_context`.
|
||||
ContextWindow,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
|
||||
Reference in new issue
Block a user