From d59780f3897897b8598ce8be5c5e5e3f67cc2710 Mon Sep 17 00:00:00 2001 From: cjq <1401875340@qq.com> Date: Sun, 7 May 2023 20:29:35 +0800 Subject: [PATCH] add bigCode default url value --- options.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/options.js b/options.js index 87f6290..e323b05 100644 --- a/options.js +++ b/options.js @@ -44,6 +44,8 @@ chrome.storage.sync.get("huggingfaceApiKey", (data) => { chrome.storage.sync.get("otherService", (data) => { if (data.otherService) { document.getElementById("otherServiceUrl").value = data.otherService; + } else { + document.getElementById("otherServiceUrl").value = "https://api-inference.huggingface.co/models/bigcode/starcoder/" } });