UX: set usage as first AI admin tab (#1089)

This commit is contained in:
Kris 2025-01-23 18:14:52 -05:00 committed by GitHub
parent 67a1257b89
commit 956efba8cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -13,8 +13,8 @@ export default {
withPluginApi("1.1.0", (api) => {
api.addAdminPluginConfigurationNav("discourse-ai", PLUGIN_NAV_MODE_TOP, [
{
label: "discourse_ai.embeddings.short_title",
route: "adminPlugins.show.discourse-ai-embeddings",
label: "discourse_ai.usage.short_title",
route: "adminPlugins.show.discourse-ai-usage",
},
{
label: "discourse_ai.llms.short_title",
@ -24,6 +24,10 @@ export default {
label: "discourse_ai.ai_persona.short_title",
route: "adminPlugins.show.discourse-ai-personas",
},
{
label: "discourse_ai.embeddings.short_title",
route: "adminPlugins.show.discourse-ai-embeddings",
},
{
label: "discourse_ai.tools.short_title",
route: "adminPlugins.show.discourse-ai-tools",
@ -32,10 +36,6 @@ export default {
label: "discourse_ai.spam.short_title",
route: "adminPlugins.show.discourse-ai-spam",
},
{
label: "discourse_ai.usage.short_title",
route: "adminPlugins.show.discourse-ai-usage",
},
]);
});
},