issue: v0.13.4 — Every terminal proxy request loads the full chat history; large chats exhaust the DB pool for the whole instance

issue: v0.13.4 — Every terminal proxy request loads the full chat history; large chats exhaust the DB pool for the whole instance

在 Open WebUI v0.13.4 中,当聊天带有已保存的 chat id 且打开终端面板时,每个终端代理请求都会完整加载聊天记录,大体积聊天会逐渐耗尽整个实例的数据库连接池(QueuePool)。优先排查是否只在“大聊天 + 打开终端”时出现 500,而新建小聊天正常。

issue: new chats skip the model’s default terminal (meta.terminalId) when created from an open chat or before the terminal list loads

issue: new chats skip the model's default terminal (meta.terminalId) when created from an open chat or before the terminal list loads

该问题通常出现在 Open WebUI 中使用了“在模型编辑器里为模型设置了默认 Open Terminal(meta.terminalId)”的场景:从已有对话新建聊天,或在终端列表尚未加载完成时创建新聊天,新对话的终端选择器为空,首条消息请求不携带 terminal_id,导致消息静默地不带终端