mirror of
https://github.com/openai/codex.git
synced 2026-04-30 03:12:20 +03:00
fix(core): adapt custom model tests to refreshed main
Drop the removed ModelInfo field and normalize refreshed ThreadManager and UserTurn test callsites. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -106,7 +106,6 @@ async fn custom_model_alias_applies_request_model_and_context_overrides() {
|
||||
experimental_supported_tools: Vec::new(),
|
||||
input_modalities: default_input_modalities(),
|
||||
web_search_tool_type: WebSearchToolType::Text,
|
||||
prefer_websockets: false,
|
||||
used_fallback_model_metadata: false,
|
||||
}],
|
||||
}),
|
||||
|
||||
@@ -319,6 +319,7 @@ async fn custom_model_alias_sends_base_model_slug() -> Result<()> {
|
||||
final_output_json_schema: None,
|
||||
cwd: cwd.path().to_path_buf(),
|
||||
approval_policy: config.permissions.approval_policy.value(),
|
||||
approvals_reviewer: None,
|
||||
sandbox_policy: config.permissions.sandbox_policy.get().clone(),
|
||||
model: alias.to_string(),
|
||||
effort: None,
|
||||
|
||||
Reference in New Issue
Block a user