mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Move OAI to User Settings
This commit is contained in:
@@ -669,8 +669,6 @@ class model_settings(settings):
|
|||||||
self.tqdm_progress = 0 # TQDP progress
|
self.tqdm_progress = 0 # TQDP progress
|
||||||
self.tqdm_rem_time = 0 # tqdm calculated reemaining time
|
self.tqdm_rem_time = 0 # tqdm calculated reemaining time
|
||||||
self.url = "https://api.inferkit.com/v1/models/standard/generate" # InferKit API URL
|
self.url = "https://api.inferkit.com/v1/models/standard/generate" # InferKit API URL
|
||||||
self.oaiurl = "" # OpenAI API URL
|
|
||||||
self.oaiengines = "https://api.openai.com/v1/engines"
|
|
||||||
self.colaburl = "" # Ngrok url for Google Colab mode
|
self.colaburl = "" # Ngrok url for Google Colab mode
|
||||||
self.apikey = "" # API key to use for InferKit API calls
|
self.apikey = "" # API key to use for InferKit API calls
|
||||||
self.oaiapikey = "" # API key to use for OpenAI API calls
|
self.oaiapikey = "" # API key to use for OpenAI API calls
|
||||||
@@ -1176,6 +1174,8 @@ class user_settings(settings):
|
|||||||
self.screenshot_show_author_name = True
|
self.screenshot_show_author_name = True
|
||||||
self.screenshot_author_name = "Anonymous"
|
self.screenshot_author_name = "Anonymous"
|
||||||
self.screenshot_use_boring_colors = False
|
self.screenshot_use_boring_colors = False
|
||||||
|
self.oaiurl = "" # OpenAI API URL
|
||||||
|
self.oaiengines = "https://api.openai.com/v1/engines"
|
||||||
|
|
||||||
|
|
||||||
def __setattr__(self, name, value):
|
def __setattr__(self, name, value):
|
||||||
|
Reference in New Issue
Block a user