Fix multi-endpoint Vision model menu and test connection#986
Conversation
|
@Bionic711 @paullizer Here's another update for the admin settings menu that allows Vision Model multi-endpoint model deployments. It also fixes the Test Vision Model button as well. I ran the PR prep prompt, and everything passed. Please let me know if you need anything else from me. |
|
Security Review Notes No dependency manifests, lockfiles, Dockerfiles, GitHub Actions, deployer files, vendored assets, binaries, archives, minified files, or generated opaque artifacts changed. Dependency gate: not applicable. No new external hosts, CDNs, webhooks, package registries, telemetry sinks, or model endpoints were introduced in added lines. The only network-relevant behavior remains the existing same-origin admin test call and the expected Azure/OpenAI client connection using configured settings. Template-added data-* attributes use Jinja’s normal escaping, and JavaScript-created option labels use new Option(...), not raw HTML insertion. Existing nearby innerHTML usage was not newly introduced for this change. |
Summary
_test_multimodal_vision_connectionbackend logic.max_completion_tokenshandling.Validation
git diff --check upstream/Developmentpython -m py_compile application/single_app/config.py application/single_app/route_backend_settings.py functional_tests/test_multimodal_vision_multi_endpoint_connection.pypython functional_tests/test_multimodal_vision_multi_endpoint_connection.pypython scripts/check_swagger_routes.py application/single_app/route_backend_settings.pypython scripts/check_xss_sinks.py --base-sha upstream/Development --head-sha HEAD application/single_app/route_backend_settings.py application/single_app/static/js/admin/admin_settings.js application/single_app/templates/admin_settings.htmlpython scripts/check_broken_access_control.py --base-sha upstream/Development --head-sha HEAD application/single_app/route_backend_settings.pypython functional_tests/route_tests/test_route_blueprint_policy_inventory.pypython functional_tests/route_tests/test_route_unauthenticated_policy_contract.pypython functional_tests/route_tests/test_route_policy_test_coverage.pyDocumentation
docs/explanation/release_notes.mdunderv0.250.008.docs/explanation/fixes/MULTI_ENDPOINT_VISION_TEST_CONNECTION_FIX.md.Notes
upstream/Development.origin/update-vision-model-section.