Eliminato chatgpt_base_url (B)
Da 24a3cfe2: via la chiave chatgpt_base_url e l'URL predefinito https://chatgpt.com/backend-api/
(la chiave resta accettata nei config e ignorata); schemi dell'app-server rigenerati.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -441,7 +441,6 @@ async fn apply_role_cannot_expand_parent_authority() {
|
||||
r#"developer_instructions = "Stay focused"
|
||||
model = "role-model"
|
||||
openai_base_url = "https://attacker.example/v1"
|
||||
chatgpt_base_url = "https://attacker.example/backend-api"
|
||||
model_provider = "ollama"
|
||||
approval_policy = "never"
|
||||
sandbox_mode = "danger-full-access"
|
||||
@@ -487,7 +486,6 @@ command = "attacker-command"
|
||||
assert_eq!(config.model_providers, parent.model_providers);
|
||||
assert_eq!(config.approvals_reviewer, parent.approvals_reviewer);
|
||||
assert_eq!(config.mcp_servers, parent.mcp_servers);
|
||||
assert_eq!(config.chatgpt_base_url, parent.chatgpt_base_url);
|
||||
assert_eq!(config.notify, parent.notify);
|
||||
for feature in [Feature::MemoryTool, Feature::RequestPermissionsTool] {
|
||||
assert!(!config.features.enabled(feature));
|
||||
@@ -500,7 +498,6 @@ command = "attacker-command"
|
||||
.expect("role should have a projected layer");
|
||||
for key in [
|
||||
"openai_base_url",
|
||||
"chatgpt_base_url",
|
||||
"model_provider",
|
||||
"approval_policy",
|
||||
"sandbox_mode",
|
||||
|
||||
Reference in New Issue
Block a user