mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
core: satisfy argument comment lint
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -138,7 +138,9 @@ impl ContextManager {
|
||||
pub(crate) fn new() -> Self {
|
||||
Self {
|
||||
items: Vec::new(),
|
||||
token_info: TokenUsageInfo::new_or_append(&None, &None, None),
|
||||
token_info: TokenUsageInfo::new_or_append(
|
||||
&None, &None, /*model_context_window*/ None,
|
||||
),
|
||||
reference_turn_context_state: ReferenceTurnContextState::default(),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -77,7 +77,7 @@ impl SessionState {
|
||||
Some(turn_context_item) => self
|
||||
.history
|
||||
.note_model_visible_turn_context(turn_context_item),
|
||||
None => self.history.set_reference_context_item(None),
|
||||
None => self.history.set_reference_context_item(/*item*/ None),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user