Commit Graph
659 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek d99ec1c02c refac 2026-11-02 08:48:51 +09:00
Timothy Jaeryang Baek 4dc3bdc466 refac 2026-11-01 20:22:56 +09:00
Timothy Jaeryang Baek 2d7cf5ec99 refac 2026-11-01 20:15:19 +09:00
Classic298 96c1cfca6e fix: Temporary Chat toggle on a folder page drops the folder (#33456)
Turning Temporary Chat on or off on a folder's page, with the button at the top or with /temporary, sent you to the home page. The next chat was then not saved in the folder and did not get the folder's system prompt, default model or knowledge. You now stay on the folder page and only Temporary Chat switches.

Fixes #33448
2026-11-01 09:06:33 +09:00
Classic298 c9ee89467e feat: {{USER_ROLE}} prompt variable for the signed-in user's role (#33441)
Prompts could use the user's name and email but not their role, so role-aware system prompts needed a custom Filter function. Model system prompts, the user's own system prompt, saved prompts used with a slash command and chat requests through the API now replace {{USER_ROLE}} with the role, such as admin or user. Requested in #4765.
2026-10-31 07:47:17 +09:00
Timothy Jaeryang Baek 193cf225f3 refac 2026-10-29 17:06:35 +09:00
Timothy Jaeryang Baek d6610adaa9 refac 2026-10-29 16:14:29 +09:00
Timothy Jaeryang Baek 839759cb17 refac 2026-10-29 08:47:08 +09:00
Timothy Jaeryang Baek 3aaecdd0e9 refac 2026-10-28 03:00:15 +09:00
Timothy Jaeryang Baek 044a5fd0a5 refac 2026-10-25 16:11:51 +09:00
Classic298 75c4421b3a fix: knowledge, note and chat attach entries open while file upload is off (#32968)
* fix: knowledge, note and chat attach entries open while file upload is off

When a user may not attach files (no file upload permission, or a selected model without "File Upload"), the "+" menu greys out "Attach Knowledge", "Reference Chats" and "Attach Notes", but they still opened, and the picked item vanished from the input without a message. Knowledge picked from the "#" and "@" lists vanished the same way, and the "#" list offered a pasted link to users without the web upload permission, which only answered "You do not have permission to upload web content". The greyed entries now do nothing on click, like "Attach Files" next to them, and the "#" and "@" lists leave out what the user cannot attach.

Refs #32830

* refac: drop type annotations on the upload flag to match neighbours

The new upload flag declarations now follow the untyped style of the lines around them.

* fix: hide attach entries in the # and @ lists from the first keystroke

The chat input now works out on its own whether files can be attached, so the lists no longer wait for the + menu to report it.
2026-10-25 13:15:59 +09:00
Classic298 b02ff54459 fix: Call button shows while speech-to-text is unavailable (#32970)
* fix: Call button shows while speech-to-text is unavailable

Unless realtime voice is set up, a call needs the server to turn the user's speech into text. The Call button still showed when the speech-to-text engine is "Web API", where clicking it only answered "Call feature is not supported when using Web STT engine", and to users without the speech-to-text permission, where the call opened but nothing they said was transcribed. The button now shows only when a call can work: realtime voice is on, a call is already running, or the engine is not "Web API" and the user has the speech-to-text permission.

Refs #32830

* fix: keyboard shortcut also needs the speech-to-text permission for calls

The call shortcut and call links now follow the same speech-to-text rule as the Call button.

* refac: keep the whole Call button condition in one place

Also drops the Web API speech-to-text message from the Call button, since the button no longer shows for that engine.

* refac: keep the call permission check unchanged in the call shortcut

The speech-to-text rule for the call shortcut is now its own check after the existing call permission check, which stays as it was.
2026-10-25 07:32:45 +09:00
Classic298 f36ed91371 fix: /skills:create shows for models that cannot create skills (#32971)
* fix: /skills:create shows for models that cannot create skills

"/skills:create" showed when the model had the "Builtin Tools" capability or its "Skills" built-in tool turned off, and the model then answered that skill creation is disabled. The command now shows only when every selected model has both turned on.

Refs #32830

* refac: keep the skill creation check with the other model capability checks

Moves the check next to the other per-model capability checks so it reads like them.

* refac: add type annotations to the skill creation check

Restores the type on the new option and types the new check.
2026-10-25 07:20:41 +09:00
Timothy Jaeryang Baek 049d75e176 refac 2026-10-25 05:47:26 +09:00
Classic298 3e9d6cb950 fix: saved direct tool servers still apply after direct integrations is turned off (#32996)
Tool servers and Open Terminal connections a user added in their Integrations settings kept loading and were still used in every chat after the admin turned Direct Integrations off, which only hid the settings tab. They are now ignored while Direct Integrations is off, for admins and users alike, and the server ignores them even when a request still includes them. The saved connections stay in each user's settings and come back as soon as the switch is turned on again.
2026-10-24 06:05:51 +09:00
Classic298 9e5a355fd2 fix: Capture shows for models without Vision (#32969)
"Capture" in the "+" menu showed when no selected model supports images, and after picking a screen the user only got "Selected model(s) do not support image inputs". It now shows only when at least one selected model has "Vision", which is also what attaching an image requires.

Refs #32830
2026-10-23 10:44:51 +09:00
Classic298 1a49220797 fix: Fork chat in a temporary chat fails with an error (#32839)
A temporary chat offered Fork chat under every reply and Fork in the / menu, but a temporary chat is never stored, so there was nothing to copy and every attempt ended in "We could not find what you're looking for :/". Both are now left out of temporary chats, the same way rating already is, and typing /fork there answers with "No chat to fork". Saved chats fork as before.

Fixes #32833
2026-10-22 02:12:55 +09:00
Timothy Jaeryang Baek 6dbd375c26 refac 2026-10-21 08:34:45 +09:00
G30 46cdd70d7b fix: a pipe model's Valves button follows the Allow Chat Valves permission (#32772) 2026-10-21 03:23:16 +09:00
G30 60953f66a6 fix: the Send button and other chat input icons get names for screen readers (#32602) 2026-10-21 02:18:55 +09:00
Timothy Jaeryang Baek af34515131 refac 2026-10-16 04:07:18 +04:00
Timothy Jaeryang Baek 9cf48f4fb0 refac 2026-10-16 03:28:17 +04:00
Timothy Jaeryang Baek 7ca62fdf93 refac 2026-10-15 22:51:14 +04:00
Timothy Jaeryang Baek 0d895443b4 refac 2026-10-14 18:02:58 +04:00
Timothy Jaeryang Baek b412b1b20b refac 2026-10-14 16:12:30 +04:00
Timothy Jaeryang Baek d51fffb468 refac 2026-10-14 15:28:19 +04:00
Timothy Jaeryang Baek edb16ed946 refac 2026-10-14 15:22:47 +04:00
Timothy Jaeryang Baek 1045d74c75 refac 2026-10-14 15:20:25 +04:00
Timothy Jaeryang Baek 1786d6cdb0 refac 2026-10-13 00:43:00 +04:00
Timothy Jaeryang Baek 3a54306c50 refac 2026-10-12 19:24:52 +04:00
Timothy Jaeryang Baek f3756997f6 refac 2026-10-10 23:27:31 +04:00
Timothy Jaeryang Baek 1a8bb4bb7a refac 2026-10-10 23:26:58 +04:00
Timothy Jaeryang Baek d470b8e1e4 refac 2026-10-10 23:14:32 +04:00
Timothy Jaeryang Baek 82f142d376 refac 2026-10-10 21:11:33 +04:00
Timothy Jaeryang Baek 350fbce932 refac 2026-10-09 17:52:02 +04:00
Timothy Jaeryang Baek 7d205a86dc refac 2026-10-08 23:49:38 +04:00
Timothy Jaeryang Baek 7b7dba6eec refac 2026-10-08 23:36:51 +04:00
Timothy Jaeryang Baek f5e9e58109 refac 2026-10-08 15:56:46 +04:00
Timothy Jaeryang Baek 1e9dd6e330 refac 2026-10-08 15:29:52 +04:00
Timothy Jaeryang Baek 00530b7a62 refac 2026-10-07 00:55:46 +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 e9cca320b4 refac 2026-10-06 22:02:23 +04:00
Timothy Jaeryang Baek 106aae70e9 refac 2026-10-06 21:45:10 +04:00
Timothy Jaeryang Baek c4e885bf1e refac 2026-10-06 17:54:13 +04:00
Timothy Jaeryang Baek fb741ebcd2 refac 2026-10-05 10:56:06 +04:00
G30 41ca360ccf fix: stop Ctrl+Shift+Enter from sending the message when Ctrl+Enter to Send is on (#31864) 2026-10-05 06:43:14 +04:00
Classic298 95dd3321af fix: images stored inside a chat trigger needless context compaction (#31915)
Images stored inside the chat record itself (chats from older versions, images that could not be saved as files, temporary chats) had their encoded data counted as text when estimating how full the context is, so a single 3 MB image counted as about a million tokens. That pushed the chat over the compaction threshold, summarizing older messages while the chat was well under the limit, and made the context usage indicator jump. The encoded image data is now left out of the token estimate, both for compaction and for the indicator.

Fixes #31913
2026-10-05 06:41:50 +04:00
Timothy Jaeryang Baek f50f9e6252 refac 2026-10-01 03:31:20 +04:00
G30 e797a44806 fix: don't bring up the keyboard when menus open or close on mobile (#31657) 2026-10-01 03:09:14 +04:00