mirror of
https://github.com/openai/codex.git
synced 2026-11-30 00:10:49 +00:00
Add GPT-6.2 Sol and Astra to model catalogs (#62106)
- Add `gpt-6.2-sol` and `gpt-6.2-astra` to the bundled, Amazon Bedrock, and Vertex catalogs, including Bedrock Runtime global and US cross-region variants. - Make GPT-6.2 Sol the default catalog selection and refresh model ordering, descriptions, and bundled instructions. - Increase the GPT-6.1 Sol context window to 500,000 tokens. - Advertise the `ultrafast` service tier for GPT-6.2 Astra on Bedrock. - Supply the same current model catalog to both executors in the prompt-prefix compatibility test so catalog updates do not cause prefix mismatches. Extend provider, app-server, and TUI coverage for catalog ordering, model fallback, Vertex requests, and GPT-6.2 Astra's Bedrock `ultrafast` selection and clearing behavior. Refresh model-picker and request snapshots. GitOrigin-RevId: f28940e4a255fcdd88f7114873259bd1f3399812 (cherry picked from commit6c0cee502d) (cherry picked from commit6ae30bd1a6)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//! Compare model-visible prefixes from two app-server versions using the same client and inputs.
|
||||
//! Compare model-visible prefixes from two app-server versions using the same catalog and inputs.
|
||||
//! The contract runner supplies a released CLI; ordinary runs check same-version determinism.
|
||||
|
||||
use anyhow::Context;
|
||||
@@ -19,6 +19,14 @@ use tempfile::TempDir;
|
||||
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
|
||||
async fn prompt_prefix_matches_release() -> Result<()> {
|
||||
let release = std::env::var_os("CONTRACT_EXECUTOR_BIN").map(std::path::PathBuf::from);
|
||||
// Catalog content is an input to the harness. Give both executors the same
|
||||
// current catalog so normal model and prompt updates cannot cause skew.
|
||||
let catalog_dir = TempDir::new()?;
|
||||
let catalog_path = catalog_dir.path().join("models.json");
|
||||
std::fs::write(
|
||||
&catalog_path,
|
||||
serde_json::to_vec(&codex_models_manager::bundled_models_response()?)?,
|
||||
)?;
|
||||
let mut prefixes = Vec::new();
|
||||
|
||||
for program in [release.as_deref(), None] {
|
||||
@@ -33,10 +41,12 @@ async fn prompt_prefix_matches_release() -> Result<()> {
|
||||
)
|
||||
.await;
|
||||
let home = TempDir::new()?;
|
||||
// Use each binary's bundled model catalog and feature defaults. Supplying a
|
||||
// catalog or base instructions from the test would hide changes to them.
|
||||
MockResponsesConfig::new(&server.uri())
|
||||
.with_model("gpt-6-astra")
|
||||
.with_root_config(&format!(
|
||||
"model_catalog_json = {}",
|
||||
serde_json::to_string(&catalog_path)?
|
||||
))
|
||||
// CCA disables bundled skills in its orchestrator.
|
||||
.with_root_config("skills.bundled.enabled = false")
|
||||
.write(home.path())?;
|
||||
@@ -119,7 +129,7 @@ async fn prompt_prefix_matches_release() -> Result<()> {
|
||||
}
|
||||
assert_eq!(
|
||||
prefixes[0], prefixes[1],
|
||||
"the default inference prefix differs from the released version; gate the change behind a default-off feature key"
|
||||
"the inference prefix differs from the released version for identical catalog and inputs; gate the harness change behind a default-off feature key"
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -8,8 +8,8 @@ use codex_app_server_protocol::ModelServiceTier;
|
||||
use pretty_assertions::assert_eq;
|
||||
use tempfile::TempDir;
|
||||
|
||||
#[test_case::test_case("amazon-bedrock", vec!["openai.gpt-6.1-sol", "openai.gpt-6-astra"]; "mantle")]
|
||||
#[test_case::test_case("amazon-bedrock-runtime", vec!["global.openai.gpt-6.1-sol", "global.openai.gpt-6-astra", "us.openai.gpt-6.1-sol", "us.openai.gpt-6-astra"]; "runtime")]
|
||||
#[test_case::test_case("amazon-bedrock", vec!["openai.gpt-6.2-astra", "openai.gpt-6.1-sol", "openai.gpt-6-astra"]; "mantle")]
|
||||
#[test_case::test_case("amazon-bedrock-runtime", vec!["global.openai.gpt-6.2-astra", "global.openai.gpt-6.1-sol", "global.openai.gpt-6-astra", "us.openai.gpt-6.2-astra", "us.openai.gpt-6.1-sol", "us.openai.gpt-6-astra"]; "runtime")]
|
||||
#[tokio::test]
|
||||
async fn bedrock_model_list_advertises_ultrafast_without_changing_default(
|
||||
provider_id: &str,
|
||||
|
||||
@@ -115,7 +115,7 @@ model = "gpt-5.4-mini"
|
||||
})
|
||||
.await?;
|
||||
|
||||
assert_eq!(response.model, "openai.gpt-6.1-sol");
|
||||
assert_eq!(response.model, "openai.gpt-6.2-sol");
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -246,6 +246,8 @@ async fn thread_start_provider_model_fallback_uses_bedrock_static_catalog() -> R
|
||||
.await?;
|
||||
for model in [
|
||||
"openai.gpt-6.1-sol",
|
||||
"openai.gpt-6.2-astra",
|
||||
"openai.gpt-6.2-sol",
|
||||
"openai.gpt-6.1-terra",
|
||||
"openai.gpt-6-sol",
|
||||
"openai.gpt-6-luna",
|
||||
@@ -275,7 +277,7 @@ async fn thread_start_provider_model_fallback_uses_bedrock_static_catalog() -> R
|
||||
supported_with_fallback.model,
|
||||
unsupported_without_fallback.model,
|
||||
],
|
||||
vec!["openai.gpt-6.1-sol", "openai.gpt-5.5", "gpt-5.4-mini"]
|
||||
vec!["openai.gpt-6.2-sol", "openai.gpt-5.5", "gpt-5.4-mini"]
|
||||
);
|
||||
Ok(())
|
||||
}
|
||||
@@ -296,6 +298,10 @@ async fn thread_start_bedrock_runtime_prefers_global_cross_region_models() -> Re
|
||||
for model in [
|
||||
"global.openai.gpt-6.1-sol",
|
||||
"us.openai.gpt-6.1-sol",
|
||||
"global.openai.gpt-6.2-astra",
|
||||
"us.openai.gpt-6.2-astra",
|
||||
"global.openai.gpt-6.2-sol",
|
||||
"us.openai.gpt-6.2-sol",
|
||||
"global.openai.gpt-6.1-terra",
|
||||
"us.openai.gpt-6.1-terra",
|
||||
"global.openai.gpt-6-sol",
|
||||
@@ -317,7 +323,7 @@ async fn thread_start_bedrock_runtime_prefers_global_cross_region_models() -> Re
|
||||
/*allow_provider_model_fallback*/ true,
|
||||
)
|
||||
.await?;
|
||||
assert_eq!(response.model, "global.openai.gpt-6.1-sol");
|
||||
assert_eq!(response.model, "global.openai.gpt-6.2-sol");
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -96,6 +96,8 @@ async fn vertex_credential_file_is_retained_when_refreshing_after_401() -> Resul
|
||||
|
||||
#[test_case("gpt-6.1-sol", false; "sol")]
|
||||
#[test_case("gpt-6.1-terra", false; "terra")]
|
||||
#[test_case("gpt-6.2-astra", false; "astra_62")]
|
||||
#[test_case("gpt-6.2-sol", false; "sol_62")]
|
||||
#[test_case("gpt-6.1-sol", true; "sol_incremental")]
|
||||
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
|
||||
async fn vertex_requests_use_command_auth_with_namespaces_and_tool_search(
|
||||
|
||||
@@ -3,10 +3,25 @@ source: core/tests/suite/gcp.rs
|
||||
expression: "models.iter().map(|model|\n(&model.model, model.show_in_picker, model.is_default)).collect::<Vec<_>>()"
|
||||
---
|
||||
[
|
||||
(
|
||||
"gpt-6.2-sol",
|
||||
true,
|
||||
true,
|
||||
),
|
||||
(
|
||||
"gpt-6.2-astra",
|
||||
true,
|
||||
false,
|
||||
),
|
||||
(
|
||||
"gpt-6.1-terra",
|
||||
true,
|
||||
false,
|
||||
),
|
||||
(
|
||||
"gpt-6.1-sol",
|
||||
true,
|
||||
true,
|
||||
false,
|
||||
),
|
||||
(
|
||||
"gpt-6-astra",
|
||||
@@ -18,9 +33,4 @@ expression: "models.iter().map(|model|\n(&model.model, model.show_in_picker, mod
|
||||
true,
|
||||
false,
|
||||
),
|
||||
(
|
||||
"gpt-6.1-terra",
|
||||
true,
|
||||
false,
|
||||
),
|
||||
]
|
||||
|
||||
+7
-7
@@ -33,14 +33,14 @@ Settings:
|
||||
|
||||
User authorization and preferences persist across turns. Do not request permission again when the user h... any guidelines provided in skills or external files. [hash=911f91c92c72882c]
|
||||
|
||||
<OMITTED 155 LINES; ~4935 TOKENS; hash=5573869716192298>
|
||||
<OMITTED 151 LINES; ~4851 TOKENS; hash=959762226fedfd0c>
|
||||
## Decision Boundary
|
||||
|
||||
- Skill naming: If a plugin contributes skills, those skill entries are prefixed with plugin_name: in the Skills list.
|
||||
- MCP naming: Plugin-provided MCP tools keep standard MCP identifiers such as mcp__server__tool; use tool provenance to tell which plugin they come from.
|
||||
- Trigger rules: If the user explicitly names a plugin, prefer capabilities associated with that plugin for that turn.
|
||||
- Relationship to capabilities: Plugins are not invoked directly. Use their underlying skills, MCP tools, and app tools to help solve the task.
|
||||
- Relevance: Determine what a plugin can help with from explicit user mention or from the plugin-associa..., MCP tools, and apps exposed elsewhere in this turn. [hash=620459a4e7b590f0]
|
||||
- Missing/blocked: If the user requests a plugin that does not have relevant callable capabilities for t..., say so briefly and continue with the best fallback. [hash=746b0469a8f6cb3e]
|
||||
Discover and use relevant tools proactively when they may help carry out the requested task. For example...ng the user for information they may already contain. [hash=3af5c93cbc00b4c7]
|
||||
|
||||
When a plugin is available for a service and its tools are sufficient for completing the task, prefer th...er has an explicit preference, defer to that instead. [hash=936dbd7fe76c210f]
|
||||
|
||||
A user can also tag a plugin using `[@plugin-name](plugin://{{plugin_id}})` or an app using `[$app-name]... app, prefer its relevant capabilities for that turn. [hash=8730f69f41534f8f]
|
||||
|
||||
02:message/developer[2]:
|
||||
[01] <permissions instructions>
|
||||
|
||||
+7
-7
@@ -33,14 +33,14 @@ Settings:
|
||||
|
||||
User authorization and preferences persist across turns. Do not request permission again when the user h... any guidelines provided in skills or external files. [hash=911f91c92c72882c]
|
||||
|
||||
<OMITTED 155 LINES; ~4935 TOKENS; hash=5573869716192298>
|
||||
<OMITTED 151 LINES; ~4851 TOKENS; hash=959762226fedfd0c>
|
||||
## Decision Boundary
|
||||
|
||||
- Skill naming: If a plugin contributes skills, those skill entries are prefixed with plugin_name: in the Skills list.
|
||||
- MCP naming: Plugin-provided MCP tools keep standard MCP identifiers such as mcp__server__tool; use tool provenance to tell which plugin they come from.
|
||||
- Trigger rules: If the user explicitly names a plugin, prefer capabilities associated with that plugin for that turn.
|
||||
- Relationship to capabilities: Plugins are not invoked directly. Use their underlying skills, MCP tools, and app tools to help solve the task.
|
||||
- Relevance: Determine what a plugin can help with from explicit user mention or from the plugin-associa..., MCP tools, and apps exposed elsewhere in this turn. [hash=620459a4e7b590f0]
|
||||
- Missing/blocked: If the user requests a plugin that does not have relevant callable capabilities for t..., say so briefly and continue with the best fallback. [hash=746b0469a8f6cb3e]
|
||||
Discover and use relevant tools proactively when they may help carry out the requested task. For example...ng the user for information they may already contain. [hash=3af5c93cbc00b4c7]
|
||||
|
||||
When a plugin is available for a service and its tools are sufficient for completing the task, prefer th...er has an explicit preference, defer to that instead. [hash=936dbd7fe76c210f]
|
||||
|
||||
A user can also tag a plugin using `[@plugin-name](plugin://{{plugin_id}})` or an app using `[$app-name]... app, prefer its relevant capabilities for that turn. [hash=8730f69f41534f8f]
|
||||
|
||||
02:message/developer[2]:
|
||||
[01] <permissions instructions>
|
||||
|
||||
@@ -95,6 +95,8 @@ pub const AMAZON_BEDROCK_GPT_5_5_MODEL_ID: &str = "openai.gpt-5.5";
|
||||
pub const AMAZON_BEDROCK_GPT_5_6_SOL_MODEL_ID: &str = "openai.gpt-5.6-sol";
|
||||
pub const AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID: &str = "openai.gpt-6.1-sol";
|
||||
pub const AMAZON_BEDROCK_GPT_6_1_TERRA_MODEL_ID: &str = "openai.gpt-6.1-terra";
|
||||
pub const AMAZON_BEDROCK_GPT_6_2_ASTRA_MODEL_ID: &str = "openai.gpt-6.2-astra";
|
||||
pub const AMAZON_BEDROCK_GPT_6_2_SOL_MODEL_ID: &str = "openai.gpt-6.2-sol";
|
||||
pub const AMAZON_BEDROCK_GPT_6_SOL_MODEL_ID: &str = "openai.gpt-6-sol";
|
||||
pub const AMAZON_BEDROCK_GPT_6_LUNA_MODEL_ID: &str = "openai.gpt-6-luna";
|
||||
pub const AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID: &str = "openai.gpt-6-astra";
|
||||
|
||||
@@ -4,6 +4,8 @@ use codex_model_provider_info::AMAZON_BEDROCK_GPT_5_6_SOL_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_5_6_TERRA_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_1_TERRA_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_2_ASTRA_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_2_SOL_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_LUNA_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_SOL_MODEL_ID;
|
||||
@@ -22,6 +24,8 @@ const GPT_5_6_TERRA_OPENAI_MODEL_ID: &str = "gpt-5.6-terra";
|
||||
const GPT_5_6_LUNA_OPENAI_MODEL_ID: &str = "gpt-5.6-luna";
|
||||
const GPT_6_1_SOL_OPENAI_MODEL_ID: &str = "gpt-6.1-sol";
|
||||
const GPT_6_1_TERRA_OPENAI_MODEL_ID: &str = "gpt-6.1-terra";
|
||||
const GPT_6_2_ASTRA_OPENAI_MODEL_ID: &str = "gpt-6.2-astra";
|
||||
const GPT_6_2_SOL_OPENAI_MODEL_ID: &str = "gpt-6.2-sol";
|
||||
const GPT_6_SOL_OPENAI_MODEL_ID: &str = "gpt-6-sol";
|
||||
const GPT_6_LUNA_OPENAI_MODEL_ID: &str = "gpt-6-luna";
|
||||
const GPT_6_ASTRA_OPENAI_MODEL_ID: &str = "gpt-6-astra";
|
||||
@@ -31,15 +35,15 @@ pub(crate) fn static_model_catalog() -> ModelsResponse {
|
||||
let catalog = ModelsResponse {
|
||||
models: vec![
|
||||
bedrock_model(
|
||||
bundled_openai_model(GPT_6_1_SOL_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID,
|
||||
"GPT-6.1 Sol",
|
||||
bundled_openai_model(GPT_6_2_SOL_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_2_SOL_MODEL_ID,
|
||||
"GPT-6.2 Sol",
|
||||
/*priority*/ 0,
|
||||
),
|
||||
bedrock_model(
|
||||
bundled_openai_model(GPT_6_ASTRA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID,
|
||||
"GPT-6-Astra",
|
||||
bundled_openai_model(GPT_6_2_ASTRA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_2_ASTRA_MODEL_ID,
|
||||
"GPT-6.2 Astra",
|
||||
/*priority*/ 1,
|
||||
),
|
||||
bedrock_model(
|
||||
@@ -48,41 +52,53 @@ pub(crate) fn static_model_catalog() -> ModelsResponse {
|
||||
"GPT-6.1 Terra",
|
||||
/*priority*/ 2,
|
||||
),
|
||||
bedrock_model(
|
||||
bundled_openai_model(GPT_6_1_SOL_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID,
|
||||
"GPT-6.1 Sol",
|
||||
/*priority*/ 3,
|
||||
),
|
||||
bedrock_model(
|
||||
bundled_openai_model(GPT_6_ASTRA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID,
|
||||
"GPT-6-Astra",
|
||||
/*priority*/ 4,
|
||||
),
|
||||
bedrock_model(
|
||||
bundled_openai_model(GPT_6_SOL_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_SOL_MODEL_ID,
|
||||
"GPT-6 Sol",
|
||||
/*priority*/ 3,
|
||||
/*priority*/ 5,
|
||||
),
|
||||
bedrock_model(
|
||||
bundled_openai_model(GPT_6_LUNA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_LUNA_MODEL_ID,
|
||||
"GPT-6 Luna",
|
||||
/*priority*/ 4,
|
||||
/*priority*/ 6,
|
||||
),
|
||||
bedrock_model(
|
||||
bundled_openai_model(GPT_5_6_SOL_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_5_6_SOL_MODEL_ID,
|
||||
"GPT-5.6 Sol",
|
||||
/*priority*/ 5,
|
||||
/*priority*/ 7,
|
||||
),
|
||||
bedrock_model(
|
||||
bundled_openai_model(GPT_5_6_TERRA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_5_6_TERRA_MODEL_ID,
|
||||
"GPT-5.6 Terra",
|
||||
/*priority*/ 6,
|
||||
/*priority*/ 8,
|
||||
),
|
||||
bedrock_model(
|
||||
bundled_openai_model(GPT_5_6_LUNA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_5_6_LUNA_MODEL_ID,
|
||||
"GPT-5.6 Luna",
|
||||
/*priority*/ 7,
|
||||
/*priority*/ 9,
|
||||
),
|
||||
gpt_5_bedrock_model(
|
||||
GPT_5_5_OPENAI_MODEL_ID,
|
||||
AMAZON_BEDROCK_GPT_5_5_MODEL_ID,
|
||||
"GPT-5.5",
|
||||
/*priority*/ 8,
|
||||
/*priority*/ 10,
|
||||
),
|
||||
],
|
||||
};
|
||||
@@ -112,13 +128,17 @@ pub(super) fn normalize_bundled_bedrock_catalog(
|
||||
(endpoint, model.slug.as_str()),
|
||||
(
|
||||
BedrockEndpoint::Mantle,
|
||||
AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID | AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID
|
||||
AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_2_ASTRA_MODEL_ID
|
||||
) | (
|
||||
BedrockEndpoint::Runtime,
|
||||
"global.openai.gpt-6-astra"
|
||||
| "us.openai.gpt-6-astra"
|
||||
| "global.openai.gpt-6.1-sol"
|
||||
| "us.openai.gpt-6.1-sol"
|
||||
| "global.openai.gpt-6.2-astra"
|
||||
| "us.openai.gpt-6.2-astra"
|
||||
)
|
||||
) {
|
||||
model.service_tiers.push(ModelServiceTier {
|
||||
@@ -205,9 +225,11 @@ mod tests {
|
||||
.map(|model| model.slug.as_str())
|
||||
.collect::<Vec<_>>(),
|
||||
vec![
|
||||
AMAZON_BEDROCK_GPT_6_2_SOL_MODEL_ID,
|
||||
AMAZON_BEDROCK_GPT_6_2_ASTRA_MODEL_ID,
|
||||
AMAZON_BEDROCK_GPT_6_1_TERRA_MODEL_ID,
|
||||
AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID,
|
||||
AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID,
|
||||
AMAZON_BEDROCK_GPT_6_1_TERRA_MODEL_ID,
|
||||
AMAZON_BEDROCK_GPT_6_SOL_MODEL_ID,
|
||||
AMAZON_BEDROCK_GPT_6_LUNA_MODEL_ID,
|
||||
AMAZON_BEDROCK_GPT_5_6_SOL_MODEL_ID,
|
||||
@@ -235,14 +257,14 @@ mod tests {
|
||||
.collect::<Vec<_>>(),
|
||||
vec![
|
||||
(
|
||||
AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID,
|
||||
Some(GPT_5_BEDROCK_CONTEXT_WINDOW),
|
||||
AMAZON_BEDROCK_GPT_6_2_SOL_MODEL_ID,
|
||||
Some(500_000),
|
||||
Some(872_000),
|
||||
WebSearchToolType::Text,
|
||||
),
|
||||
(
|
||||
AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID,
|
||||
Some(GPT_5_BEDROCK_CONTEXT_WINDOW),
|
||||
AMAZON_BEDROCK_GPT_6_2_ASTRA_MODEL_ID,
|
||||
Some(272_000),
|
||||
Some(872_000),
|
||||
WebSearchToolType::Text,
|
||||
),
|
||||
@@ -252,6 +274,18 @@ mod tests {
|
||||
Some(872_000),
|
||||
WebSearchToolType::Text,
|
||||
),
|
||||
(
|
||||
AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID,
|
||||
Some(500_000),
|
||||
Some(872_000),
|
||||
WebSearchToolType::Text,
|
||||
),
|
||||
(
|
||||
AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID,
|
||||
Some(GPT_5_BEDROCK_CONTEXT_WINDOW),
|
||||
Some(872_000),
|
||||
WebSearchToolType::Text,
|
||||
),
|
||||
(
|
||||
AMAZON_BEDROCK_GPT_6_SOL_MODEL_ID,
|
||||
Some(GPT_5_BEDROCK_CONTEXT_WINDOW),
|
||||
@@ -341,11 +375,23 @@ mod tests {
|
||||
let catalog = static_model_catalog();
|
||||
|
||||
for (mut expected, slug, display_name, priority) in [
|
||||
(
|
||||
bundled_openai_model(GPT_6_2_SOL_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_2_SOL_MODEL_ID,
|
||||
"GPT-6.2 Sol",
|
||||
0,
|
||||
),
|
||||
(
|
||||
bundled_openai_model(GPT_6_2_ASTRA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_2_ASTRA_MODEL_ID,
|
||||
"GPT-6.2 Astra",
|
||||
1,
|
||||
),
|
||||
(
|
||||
bundled_openai_model(GPT_6_1_SOL_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID,
|
||||
"GPT-6.1 Sol",
|
||||
0,
|
||||
3,
|
||||
),
|
||||
(
|
||||
bundled_openai_model(GPT_6_1_TERRA_OPENAI_MODEL_ID),
|
||||
@@ -357,37 +403,37 @@ mod tests {
|
||||
bundled_openai_model(GPT_6_SOL_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_SOL_MODEL_ID,
|
||||
"GPT-6 Sol",
|
||||
3,
|
||||
5,
|
||||
),
|
||||
(
|
||||
bundled_openai_model(GPT_6_LUNA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_LUNA_MODEL_ID,
|
||||
"GPT-6 Luna",
|
||||
4,
|
||||
6,
|
||||
),
|
||||
(
|
||||
bundled_openai_model(GPT_5_6_SOL_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_5_6_SOL_MODEL_ID,
|
||||
"GPT-5.6 Sol",
|
||||
5,
|
||||
7,
|
||||
),
|
||||
(
|
||||
bundled_openai_model(GPT_5_6_TERRA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_5_6_TERRA_MODEL_ID,
|
||||
"GPT-5.6 Terra",
|
||||
6,
|
||||
8,
|
||||
),
|
||||
(
|
||||
bundled_openai_model(GPT_5_6_LUNA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_5_6_LUNA_MODEL_ID,
|
||||
"GPT-5.6 Luna",
|
||||
7,
|
||||
9,
|
||||
),
|
||||
(
|
||||
bundled_openai_model(GPT_6_ASTRA_OPENAI_MODEL_ID),
|
||||
AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID,
|
||||
"GPT-6-Astra",
|
||||
1,
|
||||
4,
|
||||
),
|
||||
] {
|
||||
expected.slug = slug.to_string();
|
||||
@@ -401,7 +447,9 @@ mod tests {
|
||||
expected.additional_speed_tiers.clear();
|
||||
expected.service_tiers = if matches!(
|
||||
slug,
|
||||
AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID | AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID
|
||||
AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_2_ASTRA_MODEL_ID
|
||||
) {
|
||||
vec![ModelServiceTier {
|
||||
id: "ultrafast".to_string(),
|
||||
|
||||
@@ -3,6 +3,8 @@ use codex_model_provider_info::AMAZON_BEDROCK_GPT_5_6_SOL_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_5_6_TERRA_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_1_TERRA_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_2_ASTRA_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_2_SOL_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_LUNA_MODEL_ID;
|
||||
use codex_model_provider_info::AMAZON_BEDROCK_GPT_6_SOL_MODEL_ID;
|
||||
@@ -27,6 +29,8 @@ pub(super) fn static_runtime_model_catalog() -> ModelsResponse {
|
||||
| AMAZON_BEDROCK_GPT_5_6_LUNA_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_1_SOL_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_1_TERRA_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_2_ASTRA_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_2_SOL_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_ASTRA_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_SOL_MODEL_ID
|
||||
| AMAZON_BEDROCK_GPT_6_LUNA_MODEL_ID
|
||||
|
||||
@@ -18,33 +18,41 @@ fn runtime_catalog_includes_supported_cross_region_models_in_priority_order() {
|
||||
))
|
||||
.collect::<Vec<_>>(),
|
||||
vec![
|
||||
("global.openai.gpt-6.1-sol", "GPT-6.1 Sol (Global)", 0),
|
||||
("global.openai.gpt-6-astra", "GPT-6-Astra (Global)", 1),
|
||||
("global.openai.gpt-6.2-sol", "GPT-6.2 Sol (Global)", 0),
|
||||
("global.openai.gpt-6.2-astra", "GPT-6.2 Astra (Global)", 1),
|
||||
("global.openai.gpt-6.1-terra", "GPT-6.1 Terra (Global)", 2),
|
||||
("global.openai.gpt-6-sol", "GPT-6 Sol (Global)", 3),
|
||||
("global.openai.gpt-6-luna", "GPT-6 Luna (Global)", 4),
|
||||
("global.openai.gpt-5.6-sol", "GPT-5.6 Sol (Global)", 5),
|
||||
("global.openai.gpt-5.6-terra", "GPT-5.6 Terra (Global)", 6),
|
||||
("global.openai.gpt-5.6-luna", "GPT-5.6 Luna (Global)", 7),
|
||||
("us.openai.gpt-6.1-sol", "GPT-6.1 Sol (US cross-region)", 8),
|
||||
("us.openai.gpt-6-astra", "GPT-6-Astra (US cross-region)", 9),
|
||||
("global.openai.gpt-6.1-sol", "GPT-6.1 Sol (Global)", 3),
|
||||
("global.openai.gpt-6-astra", "GPT-6-Astra (Global)", 4),
|
||||
("global.openai.gpt-6-sol", "GPT-6 Sol (Global)", 5),
|
||||
("global.openai.gpt-6-luna", "GPT-6 Luna (Global)", 6),
|
||||
("global.openai.gpt-5.6-sol", "GPT-5.6 Sol (Global)", 7),
|
||||
("global.openai.gpt-5.6-terra", "GPT-5.6 Terra (Global)", 8),
|
||||
("global.openai.gpt-5.6-luna", "GPT-5.6 Luna (Global)", 9),
|
||||
("us.openai.gpt-6.2-sol", "GPT-6.2 Sol (US cross-region)", 10),
|
||||
(
|
||||
"us.openai.gpt-6.2-astra",
|
||||
"GPT-6.2 Astra (US cross-region)",
|
||||
11
|
||||
),
|
||||
(
|
||||
"us.openai.gpt-6.1-terra",
|
||||
"GPT-6.1 Terra (US cross-region)",
|
||||
10
|
||||
12
|
||||
),
|
||||
("us.openai.gpt-6-sol", "GPT-6 Sol (US cross-region)", 11),
|
||||
("us.openai.gpt-6-luna", "GPT-6 Luna (US cross-region)", 12),
|
||||
("us.openai.gpt-5.6-sol", "GPT-5.6 Sol (US cross-region)", 13),
|
||||
("us.openai.gpt-6.1-sol", "GPT-6.1 Sol (US cross-region)", 13),
|
||||
("us.openai.gpt-6-astra", "GPT-6-Astra (US cross-region)", 14),
|
||||
("us.openai.gpt-6-sol", "GPT-6 Sol (US cross-region)", 15),
|
||||
("us.openai.gpt-6-luna", "GPT-6 Luna (US cross-region)", 16),
|
||||
("us.openai.gpt-5.6-sol", "GPT-5.6 Sol (US cross-region)", 17),
|
||||
(
|
||||
"us.openai.gpt-5.6-terra",
|
||||
"GPT-5.6 Terra (US cross-region)",
|
||||
14
|
||||
18
|
||||
),
|
||||
(
|
||||
"us.openai.gpt-5.6-luna",
|
||||
"GPT-5.6 Luna (US cross-region)",
|
||||
15
|
||||
19
|
||||
),
|
||||
]
|
||||
);
|
||||
@@ -66,6 +74,24 @@ fn runtime_catalog_disables_web_search_without_overriding_review_models() {
|
||||
))
|
||||
.collect::<Vec<_>>(),
|
||||
vec![
|
||||
(
|
||||
"global.openai.gpt-6.2-sol",
|
||||
None,
|
||||
false,
|
||||
Some(MultiAgentVersion::V2),
|
||||
),
|
||||
(
|
||||
"global.openai.gpt-6.2-astra",
|
||||
None,
|
||||
false,
|
||||
Some(MultiAgentVersion::V2),
|
||||
),
|
||||
(
|
||||
"global.openai.gpt-6.1-terra",
|
||||
None,
|
||||
false,
|
||||
Some(MultiAgentVersion::V2),
|
||||
),
|
||||
(
|
||||
"global.openai.gpt-6.1-sol",
|
||||
None,
|
||||
@@ -78,12 +104,6 @@ fn runtime_catalog_disables_web_search_without_overriding_review_models() {
|
||||
false,
|
||||
Some(MultiAgentVersion::V2),
|
||||
),
|
||||
(
|
||||
"global.openai.gpt-6.1-terra",
|
||||
None,
|
||||
false,
|
||||
Some(MultiAgentVersion::V2),
|
||||
),
|
||||
(
|
||||
"global.openai.gpt-6-sol",
|
||||
None,
|
||||
@@ -114,6 +134,24 @@ fn runtime_catalog_disables_web_search_without_overriding_review_models() {
|
||||
false,
|
||||
Some(MultiAgentVersion::V1),
|
||||
),
|
||||
(
|
||||
"us.openai.gpt-6.2-sol",
|
||||
None,
|
||||
false,
|
||||
Some(MultiAgentVersion::V2),
|
||||
),
|
||||
(
|
||||
"us.openai.gpt-6.2-astra",
|
||||
None,
|
||||
false,
|
||||
Some(MultiAgentVersion::V2),
|
||||
),
|
||||
(
|
||||
"us.openai.gpt-6.1-terra",
|
||||
None,
|
||||
false,
|
||||
Some(MultiAgentVersion::V2),
|
||||
),
|
||||
(
|
||||
"us.openai.gpt-6.1-sol",
|
||||
None,
|
||||
@@ -126,12 +164,6 @@ fn runtime_catalog_disables_web_search_without_overriding_review_models() {
|
||||
false,
|
||||
Some(MultiAgentVersion::V2),
|
||||
),
|
||||
(
|
||||
"us.openai.gpt-6.1-terra",
|
||||
None,
|
||||
false,
|
||||
Some(MultiAgentVersion::V2),
|
||||
),
|
||||
(
|
||||
"us.openai.gpt-6-sol",
|
||||
None,
|
||||
|
||||
@@ -249,16 +249,23 @@ async fn bundled_vertex_models_filter_catalog_and_normalize_unsupported_tool_met
|
||||
let bundled_models = codex_models_manager::bundled_models_response()
|
||||
.expect("bundled model catalog should deserialize")
|
||||
.models;
|
||||
let mut expected: Vec<_> = ["gpt-6-astra", "gpt-6.1-sol", "gpt-6.1-terra", "gpt-6-luna"]
|
||||
.into_iter()
|
||||
.map(|slug| {
|
||||
bundled_models
|
||||
.iter()
|
||||
.find(|model| model.slug == slug)
|
||||
.expect("bundled catalog should contain the supported Vertex model")
|
||||
.clone()
|
||||
})
|
||||
.collect();
|
||||
let mut expected: Vec<_> = [
|
||||
"gpt-6.2-sol",
|
||||
"gpt-6.2-astra",
|
||||
"gpt-6-astra",
|
||||
"gpt-6.1-sol",
|
||||
"gpt-6.1-terra",
|
||||
"gpt-6-luna",
|
||||
]
|
||||
.into_iter()
|
||||
.map(|slug| {
|
||||
bundled_models
|
||||
.iter()
|
||||
.find(|model| model.slug == slug)
|
||||
.expect("bundled catalog should contain the supported Vertex model")
|
||||
.clone()
|
||||
})
|
||||
.collect();
|
||||
for model in &mut expected {
|
||||
model.use_responses_lite = false;
|
||||
model.tool_mode = Some(ToolMode::Direct);
|
||||
@@ -274,10 +281,12 @@ async fn bundled_vertex_models_filter_catalog_and_normalize_unsupported_tool_met
|
||||
.map(|model| (model.model, model.show_in_picker))
|
||||
.collect::<Vec<_>>(),
|
||||
vec![
|
||||
("gpt-6.2-sol".to_string(), true),
|
||||
("gpt-6.2-astra".to_string(), true),
|
||||
("gpt-6.1-terra".to_string(), true),
|
||||
("gpt-6.1-sol".to_string(), true),
|
||||
("gpt-6-astra".to_string(), true),
|
||||
("gpt-6-luna".to_string(), true),
|
||||
("gpt-6.1-terra".to_string(), true),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -160,7 +160,12 @@ impl ModelProvider for GcpModelProvider {
|
||||
model_catalog.models.retain(|model| {
|
||||
matches!(
|
||||
model.slug.as_str(),
|
||||
"gpt-6-astra" | "gpt-6-luna" | "gpt-6.1-sol" | "gpt-6.1-terra"
|
||||
"gpt-6-astra"
|
||||
| "gpt-6-luna"
|
||||
| "gpt-6.1-sol"
|
||||
| "gpt-6.1-terra"
|
||||
| "gpt-6.2-astra"
|
||||
| "gpt-6.2-sol"
|
||||
)
|
||||
});
|
||||
// Vertex supports function tools, namespaces, and client-side tool search, but not
|
||||
|
||||
@@ -761,6 +761,8 @@ async fn amazon_bedrock_provider_creates_static_models_manager() {
|
||||
assert_eq!(uncached_catalog, catalog);
|
||||
for slug in [
|
||||
"openai.gpt-6.1-sol",
|
||||
"openai.gpt-6.2-astra",
|
||||
"openai.gpt-6.2-sol",
|
||||
"openai.gpt-6.1-terra",
|
||||
"openai.gpt-6-sol",
|
||||
"openai.gpt-6-luna",
|
||||
@@ -792,9 +794,11 @@ async fn amazon_bedrock_provider_creates_static_models_manager() {
|
||||
assert_eq!(
|
||||
models,
|
||||
vec![
|
||||
("openai.gpt-6.2-sol", "GPT-6.2 Sol"),
|
||||
("openai.gpt-6.2-astra", "GPT-6.2 Astra"),
|
||||
("openai.gpt-6.1-terra", "GPT-6.1 Terra"),
|
||||
("openai.gpt-6.1-sol", "GPT-6.1 Sol"),
|
||||
("openai.gpt-6-astra", "GPT-6-Astra"),
|
||||
("openai.gpt-6.1-terra", "GPT-6.1 Terra"),
|
||||
("openai.gpt-6-sol", "GPT-6 Sol"),
|
||||
("openai.gpt-6-luna", "GPT-6 Luna"),
|
||||
("openai.gpt-5.6-sol", "GPT-5.6 Sol"),
|
||||
@@ -816,9 +820,11 @@ async fn amazon_bedrock_provider_creates_static_models_manager() {
|
||||
.map(|preset| preset.model.as_str())
|
||||
.collect::<Vec<_>>(),
|
||||
vec![
|
||||
"openai.gpt-6.2-sol",
|
||||
"openai.gpt-6.2-astra",
|
||||
"openai.gpt-6.1-terra",
|
||||
"openai.gpt-6.1-sol",
|
||||
"openai.gpt-6-astra",
|
||||
"openai.gpt-6.1-terra",
|
||||
"openai.gpt-6-sol",
|
||||
"openai.gpt-6-luna",
|
||||
"openai.gpt-5.6-sol",
|
||||
@@ -833,7 +839,7 @@ async fn amazon_bedrock_provider_creates_static_models_manager() {
|
||||
.find(|preset| preset.is_default)
|
||||
.expect("Bedrock catalog should have a default model");
|
||||
|
||||
assert_eq!(default_model.model, "openai.gpt-6.1-sol");
|
||||
assert_eq!(default_model.model, "openai.gpt-6.2-sol");
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
||||
+507
-162
File diff suppressed because one or more lines are too long
+2
-2
@@ -14,7 +14,7 @@ attached:
|
||||
|
||||
› draft during startup
|
||||
|
||||
GPT-6.1-Sol default · /tmp/project
|
||||
GPT-6.2-Sol default · /tmp/project
|
||||
|
||||
owned=true
|
||||
startup:
|
||||
@@ -28,4 +28,4 @@ attached:
|
||||
|
||||
› draft during startup
|
||||
|
||||
GPT-6.1-Sol default · /tmp/project
|
||||
GPT-6.2-Sol default · /tmp/project
|
||||
|
||||
@@ -732,7 +732,7 @@ async fn fresh_startup_reads_destination_and_cleared_model_uses_catalog() -> Res
|
||||
insta::assert_snapshot!(rendered, @"
|
||||
› Ask Codex to do anything
|
||||
|
||||
GPT-6.1-Sol high · <PROJECT>
|
||||
GPT-6.2-Sol high · <PROJECT>
|
||||
? for shortcuts
|
||||
");
|
||||
}
|
||||
|
||||
+2
-2
@@ -5,7 +5,7 @@ expression: "render_bottom_popup(&chat, 100)"
|
||||
Select Model and Effort
|
||||
|
||||
|
||||
› 1. GPT-5.6 Terra (current) Older balanced model for straightforward work.
|
||||
2. GPT-5.6 Luna Older fast and efficient model.
|
||||
› 1. GPT-5.6 Terra (current) Legacy balanced model for agentic coding.
|
||||
2. GPT-5.6 Luna Legacy fast model for simpler tasks.
|
||||
|
||||
enter select · esc back
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
---
|
||||
source: tui/src/chatwidget/tests/bedrock_catalog_tests.rs
|
||||
expression: "format!(\"Bundled catalog:\\n{bundled_view}\\n\\nCustom catalog:\\n{custom_view}\")"
|
||||
---
|
||||
Bundled catalog:
|
||||
› /ultrafast The fastest available responses for latency-sensitive work.
|
||||
|
||||
› /ultrafast
|
||||
|
||||
GPT-6.2 Astra default · /tmp/project
|
||||
|
||||
Custom catalog:
|
||||
› /express My custom Bedrock tier.
|
||||
|
||||
› /express
|
||||
|
||||
GPT-6.2-Astra default · /tmp/project
|
||||
+8
-8
@@ -5,13 +5,13 @@ expression: "render_bottom_popup(&chat, 100)"
|
||||
Select Model and Effort
|
||||
|
||||
|
||||
› 1. GPT-6.1 Sol (current) Latest workhorse model for coding and everyday work.
|
||||
2. GPT-6-Astra Frontier intelligence for the most demanding work.
|
||||
3. GPT-6.1 Terra GPT-6.1 Terra Codex model.
|
||||
4. GPT-6 Sol Previous generation workhorse model.
|
||||
5. GPT-6 Luna Fast and affordable model for easier tasks.
|
||||
6. GPT-5.6 Sol Older generation workhorse model.
|
||||
7. GPT-5.6 Terra Older balanced model for straightforward work.
|
||||
8. GPT-5.6 Luna Older fast and efficient model.
|
||||
› 1. GPT-6.2 Sol (current) Fast, go-to model for coding and everyday work.
|
||||
2. GPT-6.2 Astra Our most capable model for complex coding and professional work.
|
||||
3. GPT-6.1 Terra Efficient model that excels at visual understanding and computer use.
|
||||
4. GPT-6.1 Sol Previous generation model for coding and everyday work.
|
||||
5. GPT-6-Astra Previous generation model for complex coding and professional work.
|
||||
6. GPT-6 Sol Legacy model for coding and everyday work.
|
||||
7. GPT-6 Luna Fast and affordable model for easier tasks.
|
||||
8. GPT-5.6 Sol Legacy model for coding and everyday work.
|
||||
↓
|
||||
enter select · esc back
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
---
|
||||
source: tui/src/chatwidget/tests/bedrock_catalog_tests.rs
|
||||
expression: "format!(\"Bundled catalog:\\n{bundled_view}\\n\\nCustom catalog:\\n{custom_view}\")"
|
||||
---
|
||||
Bundled catalog:
|
||||
› /ultrafast The fastest available responses for latency-sensitive work.
|
||||
|
||||
› /ultrafast
|
||||
|
||||
GPT-6.2 Astra (Global) default · /tmp/project
|
||||
|
||||
Custom catalog:
|
||||
› /express My custom Bedrock tier.
|
||||
|
||||
› /express
|
||||
|
||||
GPT-6.2-Astra default · /tmp/project
|
||||
+11
-8
@@ -5,13 +5,16 @@ expression: "render_bottom_popup(&chat, 100)"
|
||||
Select Model and Effort
|
||||
|
||||
|
||||
› 1. GPT-6.1 Sol (Global) (current) Latest workhorse model for coding and everyday work.
|
||||
2. GPT-6-Astra (Global) Frontier intelligence for the most demanding work.
|
||||
3. GPT-6.1 Terra (Global) GPT-6.1 Terra Codex model.
|
||||
4. GPT-6 Sol (Global) Previous generation workhorse model.
|
||||
5. GPT-6 Luna (Global) Fast and affordable model for easier tasks.
|
||||
6. GPT-5.6 Sol (Global) Older generation workhorse model.
|
||||
7. GPT-5.6 Terra (Global) Older balanced model for straightforward work.
|
||||
8. GPT-5.6 Luna (Global) Older fast and efficient model.
|
||||
› 1. GPT-6.2 Sol (Global) (current) Fast, go-to model for coding and everyday work.
|
||||
2. GPT-6.2 Astra (Global) Our most capable model for complex coding and professional
|
||||
work.
|
||||
3. GPT-6.1 Terra (Global) Efficient model that excels at visual understanding and
|
||||
computer use.
|
||||
4. GPT-6.1 Sol (Global) Previous generation model for coding and everyday work.
|
||||
5. GPT-6-Astra (Global) Previous generation model for complex coding and professional
|
||||
work.
|
||||
6. GPT-6 Sol (Global) Legacy model for coding and everyday work.
|
||||
7. GPT-6 Luna (Global) Fast and affordable model for easier tasks.
|
||||
8. GPT-5.6 Sol (Global) Legacy model for coding and everyday work.
|
||||
↓
|
||||
enter select · esc back
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
---
|
||||
source: tui/src/chatwidget/tests/bedrock_catalog_tests.rs
|
||||
expression: "format!(\"Bundled catalog:\\n{bundled_view}\\n\\nCustom catalog:\\n{custom_view}\")"
|
||||
---
|
||||
Bundled catalog:
|
||||
› /ultrafast The fastest available responses for latency-sensitive work.
|
||||
|
||||
› /ultrafast
|
||||
|
||||
GPT-6.2 Astra (US cross-region) default · /tmp/project
|
||||
|
||||
Custom catalog:
|
||||
› /express My custom Bedrock tier.
|
||||
|
||||
› /express
|
||||
|
||||
GPT-6.2-Astra default · /tmp/project
|
||||
+1
-1
@@ -10,5 +10,5 @@ expression: "format!(\"{}\\n{}\", lines_to_single_string(cells.last().unwrap()),
|
||||
|
||||
› Viewing sub-agent — direct input is disabled
|
||||
|
||||
GPT-6.1-Sol default · /tmp/project
|
||||
GPT-6.2-Sol default · /tmp/project
|
||||
? for shortcuts
|
||||
|
||||
+1
-2
@@ -5,8 +5,7 @@ expression: "render_bottom_popup(&chat, 80)"
|
||||
Select Model and Effort
|
||||
|
||||
|
||||
› 1. Renamed model Older balanced model for straightforward
|
||||
work.
|
||||
› 1. Renamed model Legacy balanced model for agentic coding.
|
||||
2. Shared display name (current) Legacy coding model.
|
||||
|
||||
enter select · esc back
|
||||
|
||||
+9
-8
@@ -6,13 +6,14 @@ expression: popup
|
||||
Select Model and Effort
|
||||
|
||||
↑
|
||||
2. GPT-6-Astra Frontier intelligence for the most demanding work.
|
||||
3. GPT-6-Sol Previous generation workhorse model.
|
||||
4. GPT-6-Luna Fast and affordable model for easier tasks.
|
||||
5. GPT-5.6-Sol Older generation workhorse model.
|
||||
6. GPT-6.1 Terra GPT-6.1 Terra Codex model.
|
||||
7. GPT-5.6-Terra Older balanced model for straightforward work.
|
||||
8. GPT-5.6-Luna Older fast and efficient model.
|
||||
› 9. GPT-5.5 (current) Legacy coding model.
|
||||
4. GPT-6.1-Sol Previous generation model for coding and everyday work.
|
||||
5. GPT-6-Astra Previous generation model for complex coding and
|
||||
professional work.
|
||||
6. GPT-6-Sol Legacy model for coding and everyday work.
|
||||
7. GPT-6-Luna Fast and affordable model for easier tasks.
|
||||
8. GPT-5.6-Sol Legacy model for coding and everyday work.
|
||||
9. GPT-5.6-Terra Legacy balanced model for agentic coding.
|
||||
GPT-5.6-Luna Legacy fast model for simpler tasks.
|
||||
› GPT-5.5 (current) Legacy coding model.
|
||||
|
||||
enter select · esc back
|
||||
|
||||
@@ -13,13 +13,13 @@ async fn bedrock_astra_model_and_reasoning_pickers() {
|
||||
(
|
||||
"mantle",
|
||||
ModelProviderInfo::create_amazon_bedrock_provider(/*aws*/ None),
|
||||
"openai.gpt-6.1-sol",
|
||||
"openai.gpt-6.2-sol",
|
||||
"openai.gpt-6-astra",
|
||||
),
|
||||
(
|
||||
"runtime",
|
||||
ModelProviderInfo::create_amazon_bedrock_runtime_provider(/*aws*/ None),
|
||||
"global.openai.gpt-6.1-sol",
|
||||
"global.openai.gpt-6.2-sol",
|
||||
"global.openai.gpt-6-astra",
|
||||
),
|
||||
] {
|
||||
@@ -157,6 +157,24 @@ async fn bedrock_ultrafast_slash_command_selects_and_clears_tier() {
|
||||
"us.openai.gpt-6.1-sol",
|
||||
"us.openai.gpt-6.1-terra",
|
||||
),
|
||||
(
|
||||
"mantle_astra62",
|
||||
ModelProviderInfo::create_amazon_bedrock_provider(/*aws*/ None),
|
||||
"openai.gpt-6.2-astra",
|
||||
"openai.gpt-6.2-sol",
|
||||
),
|
||||
(
|
||||
"runtime_global_astra62",
|
||||
ModelProviderInfo::create_amazon_bedrock_runtime_provider(/*aws*/ None),
|
||||
"global.openai.gpt-6.2-astra",
|
||||
"global.openai.gpt-6.2-sol",
|
||||
),
|
||||
(
|
||||
"runtime_us_astra62",
|
||||
ModelProviderInfo::create_amazon_bedrock_runtime_provider(/*aws*/ None),
|
||||
"us.openai.gpt-6.2-astra",
|
||||
"us.openai.gpt-6.2-sol",
|
||||
),
|
||||
] {
|
||||
let presets = create_model_provider(provider_info.clone(), /*auth_manager*/ None)
|
||||
.models_manager_without_cache(/*config_model_catalog*/ None)
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ expression: "render_bottom_popup(&app.chat_widget,\n96).replace(&format!(\"{proj
|
||||
› ● Build the dashboard │ Build the dashboard
|
||||
● Repair authentication │ ● Needs input
|
||||
○ Review yesterday's changes │
|
||||
│ Model: gpt-6.1-sol
|
||||
│ Model: gpt-6.2-sol
|
||||
│ Reasoning: Unknown
|
||||
│
|
||||
│ Project
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@
|
||||
source: tui/src/app/tests.rs
|
||||
expression: "frame.lines().find(|row| row.contains(\"Find:\")).unwrap()"
|
||||
---
|
||||
Find: parent-2x4 │ GPT-6.1-Sol default
|
||||
Find: parent-2x4 │ GPT-6.2-Sol default
|
||||
|
||||
+4
-4
@@ -19,7 +19,7 @@ parent-29
|
||||
|
||||
› parent draft
|
||||
|
||||
GPT-6.1-Sol default · Main [default]
|
||||
GPT-6.2-Sol default · Main [default]
|
||||
New activity · esc latest
|
||||
|
||||
100 columns, reopened
|
||||
@@ -39,8 +39,8 @@ parent-29 │
|
||||
│
|
||||
› parent draft- │
|
||||
│› child draft!
|
||||
GPT-6.1-Sol default │
|
||||
│ GPT-6.1-Sol default · Agent
|
||||
GPT-6.2-Sol default │
|
||||
│ GPT-6.2-Sol default · Agent
|
||||
|
||||
99 columns, reopened
|
||||
Side chat× +
|
||||
@@ -59,5 +59,5 @@ child-29
|
||||
|
||||
› child draft!
|
||||
|
||||
GPT-6.1-Sol default · Agent
|
||||
GPT-6.2-Sol default · Agent
|
||||
Side from main thread · ⌃/ to switch · ⌃c to close
|
||||
|
||||
@@ -19,7 +19,7 @@ Zoomed
|
||||
|
||||
› xchild draft!
|
||||
|
||||
GPT-6.1-Sol default · Agent
|
||||
GPT-6.2-Sol default · Agent
|
||||
tab to queue message · Side from main thread · ⌃/ to switch · ⌃c to close
|
||||
Restored
|
||||
parent-24 │ Side chat× +
|
||||
@@ -38,7 +38,7 @@ parent-29
|
||||
│
|
||||
› xparent draft-! │› xchild draft!
|
||||
second line │
|
||||
GPT-6.1-Sol default │ GPT-6.1-Sol default · Agent
|
||||
GPT-6.2-Sol default │ GPT-6.2-Sol default · Agent
|
||||
│ tab to queue message · Side from main thread · ⌃/ to switch · ⌃c to close
|
||||
Equalized
|
||||
parent-24 │ Side chat× +
|
||||
@@ -57,5 +57,5 @@ parent-29
|
||||
│
|
||||
› xparent draft-! │› xchild draft!
|
||||
second line │
|
||||
GPT-6.1-Sol default │ GPT-6.1-Sol default · Agent
|
||||
GPT-6.2-Sol default │ GPT-6.2-Sol default · Agent
|
||||
│ tab to queue message · Side from main thread · ⌃/ to switch · ⌃c to close
|
||||
|
||||
+1
-1
@@ -5,5 +5,5 @@ expression: "render_bottom_popup(&app.chat_widget, 80)"
|
||||
---
|
||||
› Ask Codex to do anything
|
||||
|
||||
GPT-6.1-Sol default · /tmp/project · child-0 [worker]
|
||||
GPT-6.2-Sol default · /tmp/project · child-0 [worker]
|
||||
← for agents · ? for shortcuts
|
||||
|
||||
+1
-1
@@ -5,5 +5,5 @@ expression: "render_bottom_popup(&app.chat_widget, 80)"
|
||||
---
|
||||
› Viewing sub-agent — direct input is disabled
|
||||
|
||||
GPT-6.1-Sol default · /tmp/project · child-1 [worker]
|
||||
GPT-6.2-Sol default · /tmp/project · child-1 [worker]
|
||||
← for agents · ? for shortcuts
|
||||
|
||||
@@ -18,4 +18,4 @@ parent-29 │
|
||||
│
|
||||
› parent draft │› child draft!
|
||||
│
|
||||
GPT-6.1-Sol default · Main [default] │ GPT-6.1-Sol default
|
||||
GPT-6.2-Sol default · Main [default] │ GPT-6.2-Sol default
|
||||
|
||||
Reference in New Issue
Block a user