diff --git a/core/http/endpoints/openai/realtime.go b/core/http/endpoints/openai/realtime.go index ec1ff682..71d064dd 100644 --- a/core/http/endpoints/openai/realtime.go +++ b/core/http/endpoints/openai/realtime.go @@ -129,10 +129,8 @@ func newModel(cl *config.BackendConfigLoader, ml *model.ModelLoader, appConfig * if cfg.Pipeline.LLM == "" || cfg.Pipeline.TTS == "" || cfg.Pipeline.Transcription == "" { // If we don't have Wrapped model definitions, just return a standard model - opts := backend.ModelOptions(*cfg, appConfig, []model.Option{ - model.WithBackendString(cfg.Backend), - model.WithModel(cfg.Model), - }) + opts := backend.ModelOptions(*cfg, appConfig, model.WithBackendString(cfg.Backend), + model.WithModel(cfg.Model)) return ml.BackendLoader(opts...) }