mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
Uprev Rust toolchain pins to 1.95.0 (#24684)
## Summary - Bump the workspace Rust toolchain from `1.93.0` to `1.95.0` across Cargo, Bazel, CI, release workflows, devcontainers, and the Codex environment config. - Refresh `MODULE.bazel.lock` so the Bazel Rust toolchain artifacts match the new version. - Leave purpose-specific toolchains unchanged, including the `argument-comment-lint` nightly and the upstream `rusty_v8` `1.91.0` build pin. - Includes fixes for new lints from `just fix` and a few codex-authored fixes for lints without a suggestion.
This commit is contained in:
@@ -107,7 +107,7 @@ pub trait ModelsManager: fmt::Debug + Send + Sync {
|
||||
|
||||
/// Build picker-ready presets from the active catalog snapshot.
|
||||
fn build_available_models(&self, mut remote_models: Vec<ModelInfo>) -> Vec<ModelPreset> {
|
||||
remote_models.sort_by(|a, b| a.priority.cmp(&b.priority));
|
||||
remote_models.sort_by_key(|model| model.priority);
|
||||
|
||||
let mut presets: Vec<ModelPreset> = remote_models.into_iter().map(Into::into).collect();
|
||||
let uses_codex_backend = self
|
||||
|
||||
@@ -14,7 +14,7 @@ pub fn get_model_offline_for_tests(model: Option<&str>) -> String {
|
||||
return model.to_string();
|
||||
}
|
||||
let mut response = bundled_models_response().unwrap_or_default();
|
||||
response.models.sort_by(|a, b| a.priority.cmp(&b.priority));
|
||||
response.models.sort_by_key(|model| model.priority);
|
||||
let presets: Vec<ModelPreset> = response.models.into_iter().map(Into::into).collect();
|
||||
presets
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user