diff --git a/core/http/endpoints/openai/chat_require_tool_test.go b/core/http/endpoints/openai/chat_require_tool_test.go index 29aacd9e86..ae937fe315 100644 --- a/core/http/endpoints/openai/chat_require_tool_test.go +++ b/core/http/endpoints/openai/chat_require_tool_test.go @@ -121,7 +121,7 @@ var _ = Describe("ChatEndpoint profile require_tool", func() { c := e.NewContext(httptest.NewRequest(http.MethodPost, "/v1/chat/completions", strings.NewReader("{}")), rec) c.Set(middleware.CONTEXT_LOCALS_KEY_LOCALAI_REQUEST, input) c.Set(middleware.CONTEXT_LOCALS_KEY_MODEL_CONFIG, cfg) - Expect(ChatEndpoint(nil, nil, templates.NewEvaluator(dir), config.NewApplicationConfig(), nil, nil, nil)(c)).To(Succeed()) + Expect(ChatEndpoint(nil, nil, templates.NewEvaluator(dir), config.NewApplicationConfig(), nil, nil, nil, nil)(c)).To(Succeed()) return rec }