出现问题
windows环境下可以使用copilot但是wsl中显示脱机无法使用copilot
原因分析
WSL2和Windows主机网络不互通,IP地址不同,所以显示脱机
解决方法
在C:/users/.wslconfig中写入以下内容并保存
autoMemoryReclaim=gradual # 可以在 gradual 、dropcache 、disabled 之间选择
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
sparseVhd=true