Extract memind_adm admin server, add local dev tooling, and remove image-generation.
Split platform admin and ops APIs into standalone admin-server.mjs with network guards; simplify billing to RMB token pricing, refactor user auth, and add rsync deploy plus local-test scripts and docs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -48,16 +48,6 @@ export function SpaceChatPanel({
|
||||
openRecharge,
|
||||
retryConnect,
|
||||
} = chat;
|
||||
const busy = chatState === 'streaming' || chatState === 'loading' || chatState === 'connecting';
|
||||
const memoryLoading = chatBridge ? false : mainChat.memoryLoading;
|
||||
|
||||
const handleNewSession = () => {
|
||||
if (chatBridge) {
|
||||
void chatBridge.newSession();
|
||||
return;
|
||||
}
|
||||
void mainChat.newSession();
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (!open) return;
|
||||
@@ -85,14 +75,6 @@ export function SpaceChatPanel({
|
||||
</div>
|
||||
</div>
|
||||
<div className="space-chat-panel-actions">
|
||||
<button
|
||||
type="button"
|
||||
className="ghost-btn space-chat-panel-new-session"
|
||||
disabled={busy || memoryLoading}
|
||||
onClick={handleNewSession}
|
||||
>
|
||||
新会话
|
||||
</button>
|
||||
{!hideOpenFullChat ? (
|
||||
<button type="button" className="ghost-btn" onClick={onOpenFullChat}>
|
||||
打开完整聊天
|
||||
|
||||
Reference in New Issue
Block a user