Self-hosted AI workspace.
Python
fix: return sorted model list on first call in group chat (#1484)
Paulo Victor Cordeirof7b19464a8fc
diff --git a/static/js/group.js b/static/js/group.jsindex 17849112d..4390b00ed 100644--- a/static/js/group.js+++ b/static/js/group.js@@ -58,7 +58,7 @@ function _initGroupTab() {});});_modelsCache = sortModelObjects(result);- return result;+ return _modelsCache;}function _render() {@@ -410,7 +410,7 @@ export async function showModelPicker() {});});_cachedModels = sortModelObjects(result);- return result;+ return _cachedModels;}async function render(filter) {