mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-18 21:21:32 +01:00
move set_options to class, improve print messages, colored print messages
This commit is contained in:
@@ -71,7 +71,7 @@ class TextGenerationLLMLite(DVMTaskInterface):
|
||||
def process(self, request_form):
|
||||
from litellm import completion
|
||||
|
||||
options = DVMTaskInterface.set_options(request_form)
|
||||
options = self.set_options(request_form)
|
||||
|
||||
try:
|
||||
if options["model"].startswith("ollama"):
|
||||
|
||||
Reference in New Issue
Block a user