diff --git a/internal/tui/components/chat/editor/editor.go b/internal/tui/components/chat/editor/editor.go index 34a3b9483e48742d2ecf515fba7a889b0a923694..169aad6d663b61228931fa5db562dddfbe2f93db 100644 --- a/internal/tui/components/chat/editor/editor.go +++ b/internal/tui/components/chat/editor/editor.go @@ -285,7 +285,7 @@ func (m *editorCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) { if !model.SupportsImages { return m, util.ReportWarn("File attachments are not supported by the current model: " + model.Name) } - return m, filepicker.OnPaste(filepicker.ResolveFS, string(msg)) // inject fsys accessibly from PWD + return m, filepicker.OnPaste(filepicker.ResolveFS, string(msg)) // inject fsys accessibly from PWD case commands.ToggleYoloModeMsg: m.setEditorPrompt()