feat:新增点击示例直接发送之前加一层工作区检测逻辑

This commit is contained in:
Roe-xin
2026-01-14 11:52:42 +08:00
parent 342bf22f3f
commit 606f757699
6 changed files with 28 additions and 3 deletions

View File

@ -300,7 +300,6 @@ export function getInputAreaScript(): string {
${getContextDisplayScript()}
${getContextCompressScript()}
${getOptimizeButtonScript()}
${getExampleShowcaseScript()}
// 对话状态管理
let isConversationActive = false;
@ -310,6 +309,8 @@ export function getInputAreaScript(): string {
let hasCheckedWorkspace = false; // 是否已经检测过工作区
let hasWorkspace = true; // 工作区状态
${getExampleShowcaseScript()}
// 切换输入框布局模式
function updateInputAreaLayout() {
const inputArea = document.getElementById('inputArea');