()
| 60 | return gr.update(value=_format_proxy_text(normalized_proxy)) |
| 61 | |
| 62 | def clear_https_proxy(): |
| 63 | ConfigDB.insert("https_proxy", "") |
| 64 | gr.Info("代理配置已清空。") |
| 65 | return gr.update(value="") |
| 66 | |
| 67 | def test_proxy_connectivity(proxy_string, timeout): |
| 68 | try: |