feat: add model management UI
This commit introduces a new UI for managing models within the OpenAI integration. This UI allows users to view, add, and delete OpenAI models associated with their OpenAI providers. It includes functionality to fetch and refresh model lists, as well as to search for specific models. These changes enhance the user experience by offering greater control over their OpenAI model interactions. This commit also includes improvements to the existing OpenAI configuration UI, enabling users to seamlessly manage multiple OpenAI providers and associated models.
This commit is contained in:
@@ -96,5 +96,9 @@
|
||||
"translate": "Translate",
|
||||
"custom": "Custom"
|
||||
},
|
||||
"citations": "Citations"
|
||||
"citations": "Citations",
|
||||
"segmented": {
|
||||
"ollama": "Ollama Models",
|
||||
"custom": "Custom Models"
|
||||
}
|
||||
}
|
||||
@@ -26,13 +26,37 @@
|
||||
"required": "API Key is required.",
|
||||
"placeholder": "Enter API Key"
|
||||
},
|
||||
"submit": "Submit",
|
||||
"submit": "Save",
|
||||
"update": "Update",
|
||||
"deleteConfirm": "Are you sure you want to delete this provider?"
|
||||
"deleteConfirm": "Are you sure you want to delete this provider?",
|
||||
"model": {
|
||||
"title": "Model List",
|
||||
"subheading": "Please select the models you want to use with this provider.",
|
||||
"success": "Successfully added new models."
|
||||
}
|
||||
},
|
||||
"addSuccess": "Provider added successfully.",
|
||||
"deleteSuccess": "Provider deleted successfully.",
|
||||
"updateSuccess": "Provider updated successfully.",
|
||||
"delete": "Delete",
|
||||
"edit": "Edit"
|
||||
"edit": "Edit",
|
||||
"refetch": "Refech Model List",
|
||||
"searchModel": "Search Model",
|
||||
"selectAll": "Select All",
|
||||
"save": "Save",
|
||||
"saving": "Saving...",
|
||||
"manageModels": {
|
||||
"columns": {
|
||||
"name": "Model Name",
|
||||
"model_id": "Model ID",
|
||||
"provider": "Provider Name",
|
||||
"actions": "Action"
|
||||
},
|
||||
"tooltip": {
|
||||
"delete": "Delete"
|
||||
},
|
||||
"confirm": {
|
||||
"delete": "Are you sure you want to delete this model?"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user