mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 00:57:45 +00:00
Snapshot the paste target (model, container, focus) before the context-menu clipboard IPC read and before the yielding byte measurement of large pastes, and re-check it afterwards so a model swapped during the await (e.g. a diff refresh via setModel) does not receive the paste. Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>