mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 13:48:01 +01:00
move set_options to class, improve print messages, colored print messages
This commit is contained in:
@@ -64,7 +64,7 @@ class TextGenerationUnleashedChat(DVMTaskInterface):
|
||||
from openai import OpenAI
|
||||
temp_open_ai_api_key = os.environ["OPENAI_API_KEY"]
|
||||
os.environ["OPENAI_API_KEY"] = os.getenv("UNLEASHED_API_KEY")
|
||||
options = DVMTaskInterface.set_options(request_form)
|
||||
options = self.set_options(request_form)
|
||||
|
||||
try:
|
||||
client = OpenAI(
|
||||
|
||||
Reference in New Issue
Block a user