MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / editProxyItem

Function editProxyItem

static/js/settings.js:1164–1171  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

1162
1163// 编辑代理
1164async function editProxyItem(id) {
1165 try {
1166 const proxy = await api.get(`/settings/proxies/${id}`);
1167 openProxyModal(proxy);
1168 } catch (error) {
1169 toast.error('获取代理信息失败');
1170 }
1171}
1172
1173// 测试单个代理
1174async function testProxyItem(id) {

Callers

nothing calls this directly

Calls 3

openProxyModalFunction · 0.85
errorMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected