Verify that plugin context engines receive update_model() with correct context_length during AIAgent init — regression test for the ctx -- bug.