模型保持占用(held)机制:回合结束不再立即释放模型,进入 held 租约(config.model_hold 可配:idle_release_ms 默认3分钟——页面无人观看即释放;active_max_ms 默认30分钟——有人观看的保持上限;sweep_ms 巡检间隔);held 期间追问直接复用已绑模型免排队(delivered=live);sessions 表迁移新增 held_at 列;sse 增加 clientCount 判定观看者;前端新增保持中状态标签/徽章色,终止入口扩展至 held(主动放弃占用);smoke/README/示例配置同步更新
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
<input type="file" id="msg-file-input" multiple style="display:none;" onchange="ui.uploadFiles(event)">
|
||||
<svg viewBox="0 0 24 24"><path d="M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"></path></svg>
|
||||
</label>
|
||||
<textarea id="msg-input" placeholder="输入消息,Enter 换行,Ctrl+Enter 发送" rows="1"></textarea>
|
||||
<textarea id="msg-input" placeholder="输入消息..." rows="1"></textarea>
|
||||
<button class="send-btn" onclick="ui.send()">
|
||||
<svg viewBox="0 0 24 24"><line x1="22" y1="2" x2="11" y2="13"></line><polygon points="22 2 15 22 11 13 2 9 22 2"></polygon></svg>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user