diff --git a/internal/tui/components/chat/editor/editor.go b/internal/tui/components/chat/editor/editor.go index 48b11dea081f12c91bd001d2c6aafde0b402ec1d..34a3b9483e48742d2ecf515fba7a889b0a923694 100644 --- a/internal/tui/components/chat/editor/editor.go +++ b/internal/tui/components/chat/editor/editor.go @@ -240,10 +240,6 @@ func isExtOfAllowedImageType(path string) bool { type ResolveAbs func(path string) (string, error) -func onPaste(msg tea.PasteMsg) tea.Msg { - return filepicker.OnPaste(filepicker.ResolveFS, string(msg)) -} - func activeModelHasImageSupport() (bool, string) { agentCfg := config.Get().Agents["coder"] model := config.Get().GetModelByType(agentCfg.Model)