myagent-ai 1.6.4 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/ui/chat.html +2 -2
package/package.json
CHANGED
package/web/ui/chat.html
CHANGED
|
@@ -3063,7 +3063,8 @@ async function loadSessions() {
|
|
|
3063
3063
|
} catch (e) {
|
|
3064
3064
|
// Offline - try cache
|
|
3065
3065
|
state.sessions = state.agentSessions[state.activeAgent] || [];
|
|
3066
|
-
|
|
3066
|
+
renderSessions();
|
|
3067
|
+
}
|
|
3067
3068
|
|
|
3068
3069
|
// Auto-select most recent session if none selected
|
|
3069
3070
|
if (!state.activeSessionId && state.sessions.length > 0) {
|
|
@@ -4208,7 +4209,6 @@ async function callChatInject(text, choice) {
|
|
|
4208
4209
|
toast(`注入失败: ${e.message}`, 'error');
|
|
4209
4210
|
}
|
|
4210
4211
|
}
|
|
4211
|
-
}
|
|
4212
4212
|
|
|
4213
4213
|
async function insertMessageToRunningSession(text) {
|
|
4214
4214
|
// 立即将消息插入到当前正在进行的会话中
|