-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support toggle web search & toggle model popup shortcut #2686
base: main
Are you sure you want to change the base?
Conversation
迁移部分的 |
migrate 我来处理,因为很多 pr 都会修改 migrate 容易出现问题,我到发布版本的时候统一处理 |
Command + W 快捷键,很多人会用这个快速关闭窗口,如果修改了这个,会导致很多人没办法用快捷键关闭窗口了吧 |
嗯,这个确实,不过我想的是 W 代表 Web。还有啥比较合适的默认快捷键吗。也许可以 Ctrl + Shift + W? |
改成了 Ctrl + B,取 Browser 意。 |
Option + W/M 这个组合是不是也行 |
或许可以尝试ctrl或alt+1,2,3,4按顺序依次切换 |
我不太确定 macOS 的这个 Option 怎么处理,简单搜索了一下没什么发现。由于我没 macOS 设备也无法测试。目前就是改成了 Alt。 |
按顺序依次切换指的是什么?模型选择吗?感觉没看到模型选择的界面不太方便吧。打开模型选择的 Popup 后也能通过 Up, Down 键进行选择。 |
行,我来测试 |
Close #2260
默认切换网络搜索的快捷键是 Ctrl + W(W 代表 Web,取代了之前默认的关闭行为),默认切换模型 Popup 窗口的快捷键是 Ctrl + M(M 代表 Model)。这些应该默认没有冲突。
此外还支持了在显示模型 Popup 时再按 Ctrl + M 关闭。下面的 GIF 显示了上面的行为。
此外 Ctrl + W 的行为与点击按钮一致,若未填写 Tavily API Key 也会弹出提示。
对于项目不太熟悉,简单测试了一下没发现什么问题。