package gateway import ( "encoding/json" "net/http" "net/http/httptest" "strings" "testing" "llmsproxy/internal/provider" ) // TestUI_ChatPageGroupsImageModels is a UI-contract guard for the bug that // started this: the chat page listed image models beside chat ones, and picking // one posted to /api/chat, which cannot serve it. // // The contract is asserted on the HTML source rather than by running a browser, // because the failure this must catch is a source-level one — an