newTestModel wires a model against a mock OpenAI SSE server so we can exercise submit → stream → done without the real stack. The server is torn down via t.Cleanup.
(t *testing.T, handler http.HandlerFunc)
source not stored for this graph (policy: none)
no test coverage detected