You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return array('success' => false, 'error' => array('code' => 'wp_codebox_external_runtime_package_identity_mismatch', 'message' => 'Runtime package execution must use the single agent identity verified during canonical import.'));
returnnewWP_Error( 'wp_codebox_runtime_package_agent_identity_mismatch', 'Runtime package execution must use the agent identity verified during import.', array( 'status' => 400 ) );
assert.ok(providerTurn,"the OpenAI provider transport must execute through the local interception fixture")
133
147
assert.equal(JSON.parse(providerTurn.body).model,"gpt-5.5","the selected OpenAI model must reach the provider transport")
148
+
assert.match(providerTurn.body,newRegExp(packageInstruction),"the selected imported agent instruction must reach the provider transport")
149
+
assert.doesNotMatch(providerTurn.body,/WPCodeboxSandbox|Defaultsandboxagent/,"the generic sandbox instruction must not reach an imported-agent model request")
134
150
assert.match(providerTurn.url,/^https:\/\/api\.openai\.com\/v1\/responses$/,"the selected OpenAI provider must reach its provider transport")
0 commit comments