chore: use 6-luna and raise compaction turn limit
This commit is contained in:
@@ -1233,6 +1233,22 @@ mod tests {
|
|||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
assert_eq!(resolved.manifest.worker.name, "role-worker");
|
assert_eq!(resolved.manifest.worker.name, "role-worker");
|
||||||
|
let compaction = resolved.manifest.compaction.as_ref().unwrap();
|
||||||
|
assert_eq!(compaction.worker_max_turns, Some(100), "{}", entry.name);
|
||||||
|
assert_eq!(
|
||||||
|
compaction.worker_context_max_tokens, 100_000,
|
||||||
|
"{}",
|
||||||
|
entry.name
|
||||||
|
);
|
||||||
|
assert_eq!(
|
||||||
|
compaction
|
||||||
|
.model
|
||||||
|
.as_ref()
|
||||||
|
.and_then(|model| model.ref_.as_deref()),
|
||||||
|
Some("codex-oauth/gpt-6-luna"),
|
||||||
|
"{}",
|
||||||
|
entry.name
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ compaction = {
|
|||||||
threshold = 240000;
|
threshold = 240000;
|
||||||
request_threshold = 270000;
|
request_threshold = 270000;
|
||||||
worker_context_max_tokens = 100000;
|
worker_context_max_tokens = 100000;
|
||||||
|
worker_max_turns = 100;
|
||||||
|
model = { ref = "codex-oauth/gpt-6-luna"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
feature = {
|
feature = {
|
||||||
|
|||||||
Reference in New Issue
Block a user