(id)
| 1679 | } |
| 1680 | |
| 1681 | async function editCodex2apiService(id) { |
| 1682 | try { |
| 1683 | const service = await api.get(`/codex2api-services/${id}`); |
| 1684 | openCodex2apiServiceModal(service); |
| 1685 | } catch (e) { |
| 1686 | toast.error('获取服务信息失败: ' + e.message); |
| 1687 | } |
| 1688 | } |
| 1689 | |
| 1690 | async function handleSaveCodex2apiService(e) { |
| 1691 | e.preventDefault(); |
nothing calls this directly
no test coverage detected