Commit Graph
646 Commits
Author SHA1 Message Date
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
Classic298 6c322941d1 fix: iPhone HEIC photos are rejected by vision models (#31649)
iPhone photos were only converted to JPEG when the browser reported their type as exactly image/heic. Firefox reports image/heif and some browsers report no type at all, so those photos were uploaded as HEIC and vision models failed with an error. When conversion did run, the JPEG was still uploaded with the HEIC file name and type, so the model was told it was HEIC anyway. HEIC and HEIF photos are now converted whatever type the browser reports and are uploaded as a .jpg with the JPEG type, in chats, channels and notes.

Fixes #28411
2026-09-30 21:03:07 +04:00
Timothy Jaeryang Baek 332237662f refac 2026-09-27 23:18:46 +04:00
G30 b233d0d94b fix: paste the clipboard as is for {{CLIPBOARD}}, keeping dollar signs (#31364) 2026-09-26 07:28:02 +04:00
Classic298 c402acb404 fix: skills picked from the / menu are not applied to the reply (#31429)
Picking a skill from the / menu in the chat input inserted it as an @ mention, so the skill was never loaded and its raw tag ended up in the message the model received. Picking the same skill from the $ menu worked. A skill chosen through / is now sent the same way as through $ and gets applied.

Fixes #29978
2026-09-26 07:19:56 +04:00
Classic298 e6e9fc9721 fix: keep the composer's + and Integrations buttons visible at larger UI Scale on mobile (#30374)
On a phone with UI Scale at 1.2x or higher, the model selector in the chat composer covers the Integrations button, so it cannot be seen or tapped. From 1.3x it covers the + button too, which leaves no way to attach files or open integrations.

The model selector's width cap is rem based, so it grows with UI Scale, and the left button group could shrink to nothing, so the selector took the space first. The + and Integrations buttons now sit in a group that keeps its width, and only the toggled chips stay in the scrolling strip. When space runs out the model name truncates, and chips scroll as before.

Measured in the real app at a 360px mobile viewport: before, Integrations is covered at 1.2x and both buttons at 1.3x and 1.5x; after, both are tappable at every scale, with the model name truncated (114px at 1.3x). Button positions at 1x and on desktop are unchanged to the pixel, with and without chips.

Fixes #29989
2026-09-23 23:08:48 -05:00
Classic298 e14f245586 fix: keep the M mute shortcut working during voice calls (#30421)
In voice mode, pressing M after a turn typed an "m" into the chat box instead of muting. After each voice message the chat input pulled keyboard focus back to itself, and the call overlay ignores M while focus is in a text field so typing still works.

The chat input now leaves focus alone while a call is open: clearing it after a send, the remount on the first message of a new chat and the editor's autofocus all skip focusing during a call. Clicking into the box and typing during a call still works, and outside a call the input focuses exactly as before.

Checked in a browser with a fake microphone: M mutes after the first, second and third turn, in new and existing chats; "m" typed into a focused input during a call still types.

Fixes #30406
2026-09-23 23:55:21 -04:00
G30 aa65f55692 fix: insert the whole emoji when its shortcode is a codepoint sequence (#30213) 2026-09-21 08:07:45 -04:00
Timothy Jaeryang BaekandG30 67adde3193 refac
Co-Authored-By: G30 <50341825+silentoplayz@users.noreply.github.com>
2026-09-19 17:26:40 -04:00
G30 5d7c17f41a fix: stop the Generate Message Pair shortcut from also submitting the message input form (#30167) 2026-09-18 23:54:10 -04:00
Classic298 9923c53c10 fix: treat SVG uploads as documents instead of vision images (#30102)
Uploading an .svg to a chat attached it as a vision image input, so the model received a data URI it could not decode. PIL-backed servers answered "cannot identify image file" and OpenAI answered "The image data you provided does not represent a valid image". No setting made it work.

SVG now takes the ordinary file upload path, so its XML source is extracted and indexed and the model can answer questions about it. Rasterizing was the alternative and it would have discarded the part of an SVG a model reads best, the source itself. Raster formats are untouched and still go up as image inputs.

A shared helper replaces the ad hoc image/ prefix checks at the points that decide image input versus document, on both ends. It normalises the content type first, because a stored "image/SVG+xml" or a trailing charset parameter slipped past a plain comparison.

One behaviour change worth knowing: an SVG now needs the model to have the file upload capability, where before it rode in as an image.

Fixes #30100
2026-09-17 17:40:07 -04:00
Timothy Jaeryang Baek 58078ab304 refac 2026-09-14 15:47:50 -04:00
Timothy Jaeryang Baek e69236bccb refac 2026-09-13 23:33:22 -04:00
Timothy Jaeryang BaekandG30 7aaa4a692e refac
Co-Authored-By: G30 <50341825+silentoplayz@users.noreply.github.com>
2026-09-10 19:05:36 -04:00