mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-07 02:01:50 +01:00
🛠️ fix: Restrict Editable Content Types & Consolidate Typing (#9173)
* fix: only allow editing expected content types & align typing app-wide * chore: update TPayload to use TEditedContent type for editedContent
This commit is contained in:
parent
da4aa37493
commit
49cd3894aa
5 changed files with 39 additions and 18 deletions
|
|
@ -336,6 +336,7 @@ export type TAskProps = {
|
|||
|
||||
export type TOptions = {
|
||||
editedMessageId?: string | null;
|
||||
editedContent?: t.TEditedContent;
|
||||
editedText?: string | null;
|
||||
isRegenerate?: boolean;
|
||||
isContinued?: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue