mirror of
https://github.com/openai/codex.git
synced 2026-04-26 15:45:02 +00:00
rename token to context limit
This commit is contained in:
@@ -270,7 +270,7 @@ fn compaction_event_serializes_expected_shape() {
|
||||
thread_id: "thread-1".to_string(),
|
||||
turn_id: "turn-1".to_string(),
|
||||
trigger: CompactionTrigger::Auto,
|
||||
reason: CompactionReason::TokenLimit,
|
||||
reason: CompactionReason::ContextLimit,
|
||||
implementation: CompactionImplementation::ResponsesCompact,
|
||||
phase: CompactionPhase::MidTurn,
|
||||
strategy: CompactionStrategy::Memento,
|
||||
@@ -294,7 +294,7 @@ fn compaction_event_serializes_expected_shape() {
|
||||
"thread_id": "thread-1",
|
||||
"turn_id": "turn-1",
|
||||
"trigger": "auto",
|
||||
"reason": "token_limit",
|
||||
"reason": "context_limit",
|
||||
"implementation": "responses_compact",
|
||||
"phase": "mid_turn",
|
||||
"strategy": "memento",
|
||||
|
||||
Reference in New Issue
Block a user