diff --git a/apps/desktop/index.html b/apps/desktop/index.html
index 26ca612..5c2fd4b 100644
--- a/apps/desktop/index.html
+++ b/apps/desktop/index.html
@@ -4,7 +4,7 @@
-
森林AI App
+ 森林AI Agent
diff --git a/apps/desktop/src/App.tsx b/apps/desktop/src/App.tsx
index c60ed5e..20aed05 100644
--- a/apps/desktop/src/App.tsx
+++ b/apps/desktop/src/App.tsx
@@ -303,8 +303,8 @@ function ProfileModal({ user, visible, onClose, onSave }: { user: CurrentUser |
}
function Login({ onLogin }: { onLogin: (session: ApiSession & { user: CurrentUser }) => void }) {
- const [server, setServer] = useState('http://localhost:9150'); const [email, setEmail] = useState('demo@senlin.ai'); const [password, setPassword] = useState('password123'); const [loading, setLoading] = useState(false); const [error, setError] = useState('')
- return
+ const [server, setServer] = useState('http://agent.apinb.com'); const [email, setEmail] = useState('root'); const [password, setPassword] = useState('123456'); const [loading, setLoading] = useState(false); const [error, setError] = useState('')
+ return
async function submit() { setLoading(true); setError(''); try { onLogin(await login(server, email.trim(), password)) } catch (requestError) { setError(errorMessage(requestError)) } finally { setLoading(false) } }
}