feat: 模型提示词、剩余额度、对话状态优化

This commit is contained in:
Gsh
2025-10-16 01:20:11 +08:00
parent c5c22224cf
commit 799dd08ec0
9 changed files with 158 additions and 70 deletions

View File

@@ -77,7 +77,6 @@ async function onReLogin() {
}
function handleThirdPartyLogin(type: any) {
const redirectUri = encodeURIComponent(`${window.location.origin}/chat`);
console.log('cccc', type);
const popup = window.open(
`${SSO_SEVER_URL}/login?client_id=${type}&redirect_uri=${redirectUri}`,
'SSOLogin',
@@ -149,7 +148,6 @@ function handleLoginAgainYi() {
&& event.data.type === 'SSO_LOGIN_SUCCESS'
&& !isHandled) {
isHandled = true;
console.log('111');
try {
// 清理监听
window.removeEventListener('message', messageHandler);