(w http.ResponseWriter, r *http.Request)
| 202 | } |
| 203 | |
| 204 | func (s *Server) handleOpenAI(w http.ResponseWriter, r *http.Request) { |
| 205 | pproflabel.Do(r.Context(), pproflabel.Service("llm-mock"), func(ctx context.Context) { |
| 206 | s.handleOpenAIWithLabels(w, r.WithContext(ctx)) |
| 207 | }) |
| 208 | } |
| 209 | |
| 210 | func (s *Server) handleOpenAIWithLabels(w http.ResponseWriter, r *http.Request) { |
| 211 | s.logger.Debug(r.Context(), "handling OpenAI request") |
nothing calls this directly
no test coverage detected