Commit Graph
1371 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 9d1b4ef362 refac 2026-10-30 16:01:47 +09:00
Timothy Jaeryang Baek 5c4fb61d86 refac 2026-10-30 07:15:50 +09:00
Timothy Jaeryang Baek 7618df3f53 refac 2026-10-30 07:08:28 +09:00
G30 9f696f3e63 fix(a11y): focus outlines on the tab rows are no longer cut off at the corners (#33363) 2026-10-29 14:49:42 +09:00
Timothy Jaeryang Baek fdaa240d44 refac 2026-10-29 06:49:47 +09:00
Timothy Jaeryang Baek 360d81dfe8 refac 2026-10-29 06:32:47 +09:00
Classic298 f1f0a194ae feat: choose the Mistral OCR model and pass extra OCR request options (#33333)
Mistral OCR always sent the mistral-ocr-latest model with no other request options, so admins could not stay on an older OCR model or send the model name a Mistral-compatible endpoint such as Azure AI Foundry expects. A new Parameters field under Admin Panel > Settings > Documents, shown when Mistral OCR is the extraction engine and also available as the MISTRAL_OCR_PARAMS environment variable, takes a JSON object that is merged into every OCR request: {"model": "mistral-ocr-2512"} replaces the default model, and any other field is sent to the OCR endpoint as given. It works the same with and without the Use Base64 switch, and when it is left empty the request is unchanged.

Closes #19707
2026-10-29 05:25:53 +09:00
Classic298 34ef99dbfb feat: allow negative values for the Relevance Threshold setting (#33330)
The Relevance Threshold field in the Documents settings refused negative values, so admins whose reranker returns raw scores (which can go below zero) could not set a useful threshold, and a negative RAG_RELEVANCE_THRESHOLD made the whole Documents settings page impossible to save while hybrid search was on. The server already stores and applies negative thresholds; only the field blocked them. The field now takes negative values in the same 0.01 steps as before, its help text says they are valid for rerankers that return raw scores outside the 0 to 1 range, and the hover hint asking for a value between 0 and 1 is gone. Nothing changes for 0 and above, and 0 still means no threshold.

Closes #29888
2026-10-29 05:20:50 +09:00
G30 1ae310b622 fix(a11y): name the action column in the users and feedback tables (#33257) 2026-10-28 02:20:35 +09:00
G30 7e07575d0f fix: saving Admin Settings > Interface updates the generation switches shown in Settings > Interface (#33197) 2026-10-27 04:46:05 +09:00
Timothy Jaeryang Baek 4a10c093ab refac 2026-10-26 18:54:49 +09:00
Timothy Jaeryang Baek 18996b03ba refac 2026-10-26 18:00:07 +09:00
G30 02821c5058 fix: a model's Chats tab in Analytics follows the User group filter (#33207) 2026-10-26 17:27:32 +09:00
Timothy Jaeryang Baek e69392fd2b refac 2026-10-26 16:09:25 +09:00
Timothy Jaeryang Baek 706dd223c0 refac 2026-10-26 15:22:06 +09:00
Timothy Jaeryang Baek 7b303cf496 refac 2026-10-26 07:24:36 +09:00
G30 0286709f9c fix(a11y): the More button on each feedback in the Evaluations feedback list has a name (#33164) 2026-10-25 02:45:24 -05:00
G30 1bb76d7950 fix(a11y): keyboard users can sort the Evaluations feedback list and open a feedback from it (#33162) 2026-10-25 02:44:55 -05:00
Timothy Jaeryang Baek 06c382e5d2 refac 2026-10-25 15:14:58 +09:00
Timothy Jaeryang Baek 08bfaa4be6 refac 2026-10-25 15:09:48 +09:00
Timothy Jaeryang Baek c7e34e0fa9 refac 2026-10-25 14:34:12 +09:00
Timothy Jaeryang Baek 5f95008abd refac 2026-10-25 14:20:56 +09:00
Timothy Jaeryang Baek 7f1b618727 refac 2026-10-25 13:59:14 +09:00
G30 432b2a2a8c fix(a11y): keyboard users can sort the Evaluations leaderboard and open a model from it (#33151) 2026-10-25 13:53:15 +09:00
G30 caae0be19b fix(a11y): switches, icon buttons, selects and number inputs in Admin Settings have names (#33145) 2026-10-25 13:14:38 +09:00
G30 be0177f1e7 fix(a11y): the code box in the tool and function editors has a name (#33129) 2026-10-25 12:16:07 +09:00
G30 ece6bc1a55 fix(a11y): list rows in Workspace, Functions and Automations aren't buttons around their controls; each name is a link (#33102) 2026-10-25 08:05:23 +09:00
Classic298 2cf014c7e9 fix: built-in tool toggles show while their feature is off (#32964)
* fix: built-in tool toggles show while their feature is off

The model editor listed the Memory, Notes, Channels, Notifications, Web Search, Image Generation, Code Interpreter, Automations, Calendar and Sub-agents built-in tools even when the admin had turned that feature off for the whole instance, where those toggles do nothing. Each of them is now hidden while its feature is off, and the choices saved on a model are kept for when it is turned back on. The server now also reports whether sub-agents are on, and saving the Sub-agents settings updates the editor without a reload.

Refs #32830

* refac: name the feature switch map like the rest of the codebase

Uses the same name the model capabilities change uses for its matching map.

* refac: keep each tool's feature switch next to its label

Each built-in tool now carries its feature switch alongside its label and description, so the list is defined in one place.
2026-10-25 07:46:22 +09:00
Classic298 d2e88ba37a fix: Web Search Query Generation setting shows while web search is off (#32986)
Settings > Interface showed the Web Search Query Generation switch even with web search turned off, where it has no effect. It now only shows while web search is on, and its stored value is kept.

Refs #32830
2026-10-25 07:35:18 +09:00
Classic298 1d6d805587 fix: image engine settings show while image generation is off (#32985)
* fix: image engine settings show while image generation is off

Settings > Images showed the image engine, its credentials and the whole image edit section even with image generation turned off. They now only show while the Image Generation switch is on, and flipping it on shows them right away, so everything can be set up before saving. Stored engine settings and keys are kept.

Refs #32830

* fix: saving image settings without a required key turns image generation off

Saving Settings > Images with Image Generation on but a required URL or API key empty showed an "is required" error and flipped the switch back off, which now also hid the field that needed filling. The switch now stays on with the error, so the missing value can be filled in and saved right away. Nothing is saved until then.

Refs #32830

* refac: always require the Gemini API key while image generation is on

The key field only shows while image generation is on, so it is simply required now.

* refac: drop the stray blank lines left in the image settings save checks

Each missing-setting check now shows its error and stops right away, with no leftover gap from the removed lines.
2026-10-25 07:32:26 +09:00
Classic298 e11c1bb38c fix: web search engine settings show while web search is off (#32984)
* fix: web search engine settings show while web search is off

Settings > Web Search showed the search engine picker and all engine credentials even with web search turned off. They now only show while the Web Search switch is on, and flipping it on shows them right away, so the engine can be set up before saving. An API key the web loader shares with the hidden engine now shows in the loader section instead. Stored engine settings and keys are kept.

Refs #32830

* fix: web search confirmation and Bypass Web Loader show while web search is off

The Web Search Confirmation switch, its text and the Bypass Web Loader switch also showed with web search turned off, although they only act on web searches. They now hide together with the engine settings, and their stored values are kept. Bypass Embedding and Retrieval and Trust Proxy Environment stay visible, since they also apply to web pages attached to a chat.

Refs #32830

* refac: mark web search fields as plainly required

These fields only show while web search is on, so tying their required flag to the toggle no longer does anything.

* refac: write the web search checks inline

Same behaviour, the conditions now sit directly where they are used.
2026-10-25 07:21:11 +09:00
Classic298 5e62c8997f fix: Terminal capability shows while no terminal server exists (#32966)
* fix: Terminal capability shows while no terminal server exists

The Terminal capability showed in the model editor even when the admin had set up no terminal server and direct integrations were off, which is the default, so it did nothing. It now shows only when an enabled terminal server exists or users can add their own through direct integrations, and the value saved on a model is kept. The server now reports whether any enabled terminal server exists, since the editor itself only sees the servers the current user can access and a model can be shared with other users.

Refs #32830

* fix: hide the default terminal picker when no terminal is available

The model editor still showed the default terminal line when no terminal server or direct integration was available. It now follows the same rule as the Terminal capability.
2026-10-25 05:15:13 +09:00
Timothy Jaeryang Baek 74fb7a8c56 refac 2026-10-25 04:50:39 +09:00
G30 db5090dee3 fix(a11y): the on/off switches on Skills, Functions and Automations rows are named and no longer wrapped in an unnamed button (#33096) 2026-10-25 04:49:50 +09:00
Classic298 8852d460b7 fix: group permission toggles show while their feature is off (#32983)
Users > Groups and the default permissions showed toggles such as Web Search, Channels, Notes, API Keys or Rate Response even when the admin had turned that feature off for the whole instance, so changing them did nothing. Each of these toggles, and the sharing toggles for notes, folders and calendars, now only shows while its feature is on. Stored permission values are kept, so turning a feature back on restores each group's setting.

Refs #32830
2026-10-24 14:44:47 +09:00
Classic298 3299a09753 fix: tooltips show names and descriptions exactly as written (#32953)
Text shown in a tooltip was treated as markup, so a name, path or description containing angle brackets came out mangled or partly missing. Tooltips now show their text as written, and the few places that deliberately show formatted content ask for it explicitly.
2026-10-23 04:16:15 +09:00
Classic298 6b9237f1a1 fix: Images settings cannot be saved without an API key for a feature that is switched off (#32949)
On a fresh install the image generation engine is OpenAI with no key, and saving Admin Settings > Images failed with "OpenAI API Key is required." even with Image Generation switched off, which blocked every change on the page, including setting up Image Edit with another engine. Image Edit had the same problem: with Gemini as its engine and no key, the page refused to save even with Image Edit off. Each engine's key or URL is now only asked for while its feature is on, so switching Image Generation or Image Edit on without one is still refused.

Fixes #32835
2026-10-23 02:41:09 +09:00
Classic298 cc6de63bc8 fix: Web Search settings do not save while web search is off (#32840)
With web search off, clicking Save on the Web Search settings page jumped to an empty search engine field and saved nothing. That happened with no engine picked, which is how a fresh install starts, and also when an engine picked earlier was missing its own details, such as the SearXNG query URL. Admins could not change the Web Loader settings, which apply whenever a user attaches a web page, without filling in a search engine first. The engine and its details are now only required while web search is turned on.

Fixes #32831
2026-10-22 01:51:44 +09:00
Timothy Jaeryang Baek ca8f451cca chore: i18n 2026-10-21 16:44:03 +09:00
Timothy Jaeryang Baek 3539ad6321 refac 2026-10-21 16:35:31 +09:00
Timothy Jaeryang Baek dc2ac86060 refac 2026-10-21 16:01:14 +09:00
Timothy Jaeryang Baek 06c17834ee refac 2026-10-21 15:57:39 +09:00
Timothy Jaeryang Baek 4491e60a29 refac 2026-10-21 11:30:22 +09:00
Timothy Jaeryang Baek b93b812468 refac 2026-10-21 11:17:43 +09:00
Timothy Jaeryang Baek 0de8d03c62 refac 2026-10-21 11:16:58 +09:00
Timothy Jaeryang Baek 131ddc32ec refac 2026-10-21 11:07:10 +09:00
Timothy Jaeryang Baek 33e4c5f514 refac 2026-10-21 09:47:21 +09:00
Timothy Jaeryang Baek 72cc79b8f3 refac 2026-10-21 08:33:40 +09:00
G30 d8bef1ef90 fix: hiding, toggling or editing a base model right after Make Public is saved (#32655) 2026-10-21 02:33:45 +09:00
G30 b6808df7d6 fix: the close button on 22 dialogs and the update notice gets a name for screen readers (#32615) 2026-10-21 02:31:52 +09:00