mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-19 21:07:28 +08:00
chore(evolution): lower trigger thresholds to 6 turns / 10 min idle
This commit is contained in:
@@ -285,7 +285,7 @@
|
||||
</button>
|
||||
|
||||
<!-- Docs Link -->
|
||||
<a href="https://docs.cowagent.ai" target="_blank" rel="noopener noreferrer"
|
||||
<a id="docs-link" href="https://docs.cowagent.ai" target="_blank" rel="noopener noreferrer"
|
||||
class="p-2 rounded-lg text-slate-500 dark:text-slate-400 hover:bg-slate-100 dark:hover:bg-white/10
|
||||
cursor-pointer transition-colors duration-150" title="Documentation">
|
||||
<i class="fas fa-book text-base"></i>
|
||||
|
||||
@@ -470,6 +470,9 @@ function applyI18n() {
|
||||
installCfgTipPortal();
|
||||
const langLabel = document.getElementById('lang-label');
|
||||
if (langLabel) langLabel.textContent = currentLang === 'zh' ? '中文' : 'EN';
|
||||
// Point the docs link to the locale-specific documentation site.
|
||||
const docsLink = document.getElementById('docs-link');
|
||||
if (docsLink) docsLink.href = currentLang === 'zh' ? 'https://docs.cowagent.ai/zh' : 'https://docs.cowagent.ai';
|
||||
}
|
||||
|
||||
// Single entry point for switching language. Updates the in-memory language,
|
||||
|
||||
Reference in New Issue
Block a user