fix: preserve plugin tool state.attachments in UI and materializer (#2367)
* preserve attachments in UI and materializer * add support for non-image attachments * preserve attachments in UI and materializer * improve attachment rendering and state synchronization * simplify attachment filtering and key handling * prevent rendering tool attachments without URLs * require `f.url` in `imageAttachments` to match gallery indices
This commit is contained in:
@@ -1338,6 +1338,7 @@ export const dict: Record<I18nKey, string> = {
|
||||
'chat.toolPart.moreErrors': '+{count} kolejnych błędów',
|
||||
'chat.toolPart.noOutputProduced': 'Brak wygenerowanego wyniku',
|
||||
'chat.toolPart.openSubtask': 'Otwórz podzadanie typu {type}',
|
||||
'chat.toolPart.attachmentFallback': 'Załącznik',
|
||||
'chat.toolPart.output': 'Wyjście',
|
||||
'chat.toolPart.showRawJson': 'Pokaż surowy JSON',
|
||||
'chat.toolPart.showFormattedJson': 'Pokaż sformatowany JSON',
|
||||
|
||||
Reference in New Issue
Block a user