Commit Graph
1263 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 27808f6a02 refac 2026-10-07 11:06:15 +04:00
Timothy Jaeryang Baek efd94fde63 refac 2026-10-07 00:54:53 +04:00
Timothy Jaeryang Baek 093bfce2b6 refac 2026-10-07 00:39:16 +04:00
Timothy Jaeryang Baek 106aae70e9 refac 2026-10-06 21:45:10 +04:00
Timothy Jaeryang Baek b0bcd94519 refac 2026-10-06 16:41:33 +04:00
Timothy Jaeryang Baek b8738494cf refac 2026-10-06 16:35:49 +04:00
Timothy Jaeryang Baek 4424ae6acc refac 2026-10-05 17:50:28 +04:00
Timothy Jaeryang Baek 398c37c73c refac 2026-10-05 14:35:15 +04:00
Timothy Jaeryang Baek d4c561d9f2 refac 2026-10-05 14:01:02 +04:00
Timothy Jaeryang Baek 5bb1c47080 refac 2026-10-05 12:49:11 +04:00
Timothy Jaeryang Baek 24e30d1cbd refac 2026-10-05 12:17:25 +04:00
G30 d4a2d11ecf fix: hide Share in the function menu when Community Sharing is off (#31820) 2026-10-05 10:36:51 +04:00
Timothy Jaeryang Baek 51f0e01258 refac 2026-10-05 09:24:43 +04:00
G30 1b2ceedd61 fix: create the model when a GGUF is uploaded to Ollama, in File Mode and URL Mode (#31862) 2026-10-05 06:43:06 +04:00
G30 6eb0a0b77e fix: stop deleting the model when an Ollama download is cancelled (#31824) 2026-10-01 12:26:13 -05:00
Timothy Jaeryang Baek dc713a68a4 refac 2026-10-01 07:31:24 +04:00
Timothy Jaeryang Baek f50f9e6252 refac 2026-10-01 03:31:20 +04:00
Timothy Jaeryang Baek 7e317fbada refac 2026-09-30 20:58:01 +04:00
G30 6e3ad226ba fix: report invalid image Additional Parameters JSON instead of leaving Save spinning (#31382) 2026-09-30 20:01:42 +04:00
Classic298 ef67cc3fac fix: first click in a dialog opened from a menu does nothing (#31496)
The chat header menu, the folder menu, the note menu, the knowledge Add Content and folder row menus and the Actions menus in Models, Archived Chats and Personalization stayed open behind the dialog they opened, so the first click inside that dialog only closed the menu. These menus now close when an item is picked, like the sidebar chat menu. The note menu's Formatting switch, the chat tags and submenus such as Download still keep the menu open.

Fixes #31493
2026-09-28 01:52:26 +04:00
Classic298 6e5e5fe6e9 feat: add a Tavily search depth setting (#31308)
Tavily web search always ran at Tavily's default depth (basic), because the search request never sent `search_depth`. The only Tavily depth control in Admin > Settings > Web Search, "Tavily Extract Depth", applies to the Extract API used by the web loader, never to search.

This adds `TAVILY_SEARCH_DEPTH` (env var and persisted setting, default `basic`) and a "Tavily Search Depth" select (ultra-fast, fast, basic, advanced) under the Tavily search engine settings. The value is sent as `search_depth` on every Tavily search request, so admins can set search and extract depth independently, for example fast search with advanced extraction.

The default matches Tavily's own default, so existing setups keep the same behaviour until the setting is changed.

Fixes #29891
2026-09-27 23:15:09 +04:00
G30 f8e15f92d1 fix: check the external loader headers whenever they are set, so Save reports the error (#30434) 2026-09-26 07:26:43 +04:00
G30 9630717680 fix: show the stored authentication settings after a value is refused (#30433) 2026-09-25 00:13:49 -04:00
G30 db697c7e61 fix: skip the blank last line of a user CSV import (#31374) 2026-09-25 00:08:49 -04:00
Classic298 9db68981d8 feat: allow reordering admin models while a search or filter is active (#30390)
On Admin Settings > Models the drag handle was disabled as soon as a search, view or tag filter was active, so on a long list the only way to move a model was to clear everything and hunt for it by eye.

Dragging now works in any filtered list. The move is applied to the full order: the dragged model is placed directly after the visible model it was dropped below (or directly before the one it was dropped above), and every model hidden by the filter keeps its place. That anchoring is what makes reordering a subset safe, which is why the filters previously blocked it.

The tag filter now filters the loaded list client-side like search and view already do. Before, it reloaded the page data and rebuilt the order from only the tagged models, so saving under a tag would have dropped every other model from the order, and switching tags discarded unsaved moves. Export keeps its existing tag-filtered behaviour.

Verified in the browser with search, view (enabled/disabled) and tag filters, dragging up and down, multiple moves before one save and switching tags with unsaved moves; the saved order always contains every model.

Closes #29634
2026-09-23 23:48:05 -04:00
G30 a7d81ebdcf fix: keep a user's chats listed in the admin chats view after deleting one (#30604) 2026-09-23 23:32:23 -04:00
Classic298 d66e5dc403 fix: make the admin analytics tab scrollable inside the settings modal (#30429)
The analytics dashboard renders inside the settings modal, whose tab area clips overflowing content. Unlike the other tabs, analytics had no scroll area of its own, so on any instance with more than a handful of models or users the bottom of the model and user ranking tables was cut off and could not be reached.

The analytics wrapper now scrolls vertically, using the same scroll classes as the other settings tabs. Verified in a browser with 30 models and 45 users at 1400x900, 1280x720 and 700x900: before, wheel scrolling moved nothing; after, both tables scroll to their last row with a single scrollbar and no horizontal overflow.

Fixes #30428
2026-09-23 08:46:22 -05:00
Timothy Jaeryang Baek 9fba2843b1 refac 2026-09-21 11:24:40 -04:00
Timothy Jaeryang Baek 30881dbcc9 refac 2026-09-21 11:09:09 -04:00
G30 c2f11edb2f fix: keep a workspace model's base model when cloning it from the admin Models settings and hide Clone for arena models (#30080) 2026-09-21 08:15:12 -04:00
G30 7eebbbb891 fix: stop the MinerU API key blocking a save in local mode (#30299) 2026-09-21 08:04:19 -04:00
G30 14be67348a fix: open the new group dialog empty after a group is created (#30280) 2026-09-21 00:56:53 -04:00
G30 f847c6a588 fix: apply the new text to speech engine's default voice and model when the engine changes (#30289) 2026-09-21 00:30:26 -04:00
G30 881f7c9400 fix: save only the changed key when pinning, reordering or picking a default outside the Settings modal (#30183) 2026-09-19 17:34:02 -04:00
G30 c1a35b4691 fix: sort the feedback history by user when the User column is clicked (#30191) 2026-09-19 17:21:51 -04:00
G30 76bd90c832 fix: discard unsaved edits when the admin Edit User dialog is closed (#30193) 2026-09-19 17:21:44 -04:00
G30 4922b91c07 fix: stop the Model Defaults save from reverting the selected, pinned and ordered models (#30206) 2026-09-19 17:17:57 -04:00
Timothy Jaeryang Baek 64bbdf7a73 refac 2026-09-18 19:28:40 -04:00
Timothy Jaeryang Baek c82634b9d0 refac 2026-09-18 11:49:56 -04:00
Classic298 9ee810ad09 feat: add Staan as a native web search provider (#30138)
European deployments that need EU data residency have no hosted web search option out of the box: every plug-and-play provider shipped today is US-based, and the only sovereign alternative is self-hosting SearXNG, which means running and maintaining that infrastructure yourself. Staan (staan.ai) is a European search API with EU data residency, so adding it gives those deployments a drop-in choice.

It is configured like any other provider, through the admin UI or STAAN_API_KEY, STAAN_MARKET and STAAN_MAX_SNIPPETS. Market sets the region and language of the results and defaults to en-us. Max snippets asks Staan to fetch each result page and return semantically scored chunks of it, which get merged into that result's snippet so retrieval has more to work with; leaving it at 0 uses the plain search endpoint.

Wired the same way as Tavily and Exa, with domain filtering going through the shared get_filtered_results.

Requested in #26006.
2026-09-18 10:38:36 -05:00
Timothy Jaeryang Baek 7cbaabe02f refac 2026-09-18 10:51:00 -04:00
Timothy Jaeryang Baek 6d8e63e366 refac 2026-09-16 00:02:48 -04:00
Timothy Jaeryang Baek 66addbd6b4 refac 2026-09-15 22:47:03 -04:00
Timothy Jaeryang Baek 199490eadb refac 2026-09-12 18:16:19 -04:00
G30 5b0f8a73ca fix: keep the select chevron clear of the text in shrink-to-fit selects (#29866) 2026-09-09 16:22:00 -04:00
Timothy Jaeryang Baek 12b14124b9 refac 2026-09-08 23:18:48 -04:00
Timothy Jaeryang Baek 9e634c0c56 refac 2026-09-07 13:19:16 -04:00
Timothy Jaeryang Baek 0fa4dea5ff refac 2026-09-06 17:21:57 -04:00
Timothy Jaeryang Baek d27aa72ab4 refac 2026-09-06 17:13:32 -04:00
Timothy Jaeryang Baek c4a349651e refac 2026-09-06 17:10:01 -04:00