Skip to content

Commit 1415f07

Browse files
sandeshitranjan-stha
authored andcommitted
ollamahandler issue fixed
1 parent e996e8e commit 1415f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class UserQuery(GenericAPIView):
1414
if LLMType(int(settings.LLM_TYPE)) == LLMType.OLLAMA:
15-
llm = OllamaHandler
15+
llm = OllamaHandler()
1616
elif LLMType(int(settings.LLM_TYPE)) == LLMType.OPENAI:
1717
llm = OpenAIHandler()
1818
else:

0 commit comments

Comments
 (0)