XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Report erros in UI by default

1378c502
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

2 个文件 +2 -2
Modified g4f/gui/client/index.html +1 -1
@@ -153,7 +153,7 @@
153 153 </div>
154 154 <div class="field">
155 155 <span class="label">Report errors</span>
156 <input type="checkbox" id="report_error"/>
156 <input type="checkbox" id="report_error" checked/>
157 157 <label for="report_error" class="toogle" title=""></label>
158 158 </div>
159 159 <div class="field box">
Modified g4f/gui/client/static/js/chat.v1.js +1 -1
@@ -2302,7 +2302,7 @@ async function api(ressource, args=null, files=null, message_id=null, scroll=tru
2302 2302 }
2303 2303 } else if (args) {
2304 2304 if (ressource == "log") {
2305 if (appStorage.getItem("report_error") != "true") {
2305 if (!document.getElementById("report_error").checked) {
2306 2306 return;
2307 2307 }
2308 2308 url = `https://roxky-g4f-demo.hf.space${url}`;