Repository navigation
Say what happened: own-key fallback, failed background replies, delete-project counts, legacy Office files, and no 4,096 cap on custom endpoints - #224
Merged
Conversation
…ails, or a file cannot be read, and stop capping custom endpoints at 4,096 tokens
This was referenced Oct 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Five places where the app either stayed silent about something that went wrong or said something untrue. Each fix changes only the part that was silent or untrue.
#164: a conversation's own-key model is gone
When a conversation was on a model behind the reader's own key and that model is no longer configured, it now says so before the next message is sent, for example: "relay-chat (your key) is no longer set up, so this conversation now uses GLM-5.3 (free)."
attachAgent. It covers opening the conversation and removing the provider while the conversation is open, because removal rebuilds the runtime.erroralert. The notice clears on the next send, as before, or when the reader picks a model.#199: custom endpoints are no longer capped at 4,096 tokens
customModelnow hasmaxTokens: 0, meaning unknown, like itscontextWindow.1. A large fixed number is not safe either: many compatible endpoints reject a limit above the model's own with a 400 (DeepSeek accepts 1–8192).streamSimpledropsmax_tokensandmax_completion_tokensfrom the request when the caller set no limit, which is the case for chat. The endpoint then applies the model's own limit.model.maxTokensis 0.#206: a failed background reply is marked as failed
Activitygains'failed'. A background run that threw, or ended with an error, settles to it instead of'unread'.role="img", so it isn't told apart by colour alone.letGoreleases it after that.'unread'.#183: the delete-project dialog describes what will be deleted and saved
#162: older .doc/.xls files are no longer called readable
legacyOfficeFormatincore/files.tsnames.docand.xls.getReadabilityreports them as not readable, with a reason that names the conversion: "Save it as .docx to read it."listandreadboth go through it, so they agree..doc/.xlsit says "Save it as .docx to open it here."; for other formats, "There is no preview for this format."unsupportedfile is marked unreadable, as the issue proposed: text files with unknown extensions (.vue,.proto) read fine as UTF-8 today.Verification
.docis reported as not readable bylist, andreadfails with the conversion message..docpreview shows the new text.pnpm check:origin/main's source checked out, run straight after at load ~67, fails the same two.agent.promptthrows. It takes the same path as the error-ending run that is tested.Closes #164, closes #199, closes #206, closes #183, closes #162