backup: preserve pre-native-foundation runtime work
This commit is contained in:
parent
a4cba27d3c
commit
71dbcd62ec
23 changed files with 3647 additions and 196 deletions
|
|
@ -14,6 +14,8 @@ test('light lake exposes a first-class human conversation entrance', () => {
|
|||
assert.match(main, /<PersonaChannelBody/)
|
||||
assert.match(channel, /<textarea[\s\S]*?form\?\.requestSubmit\(\)/)
|
||||
assert.match(channel, /\{sending \? '正在回应…' : '发送'\}/)
|
||||
assert.match(channel, /markdownHtml\(item\.content\)/)
|
||||
assert.match(channel, /persona-message-markdown/)
|
||||
})
|
||||
|
||||
test('knowledge workspace keeps the chat visible and binds the exact active page', () => {
|
||||
|
|
@ -31,7 +33,8 @@ test('knowledge workspace keeps the chat visible and binds the exact active page
|
|||
|
||||
test('model configuration remains secondary to the conversation surface', () => {
|
||||
assert.match(channel, /const \[settingsOpen, setSettingsOpen\] = useState\(false\)/)
|
||||
assert.match(channel, /直接输入消息开始对话;知识引用、模型设置和运行回执按需展开/)
|
||||
assert.match(channel, /ZERO CORE · LANGUAGE PERSONA CHANNEL/)
|
||||
assert.match(channel, /persona-chat-status/)
|
||||
assert.match(channel, /\{settingsOpen && <aside className="persona-chat-settings">/)
|
||||
assert.match(channel, /API 密钥 · 只进钥匙串/)
|
||||
})
|
||||
|
|
@ -42,4 +45,7 @@ test('the chosen model route survives restart and prefers explicit user configur
|
|||
assert.match(channel, /item\.source === 'EXPLICIT_USER_CONFIG'/)
|
||||
assert.match(channel, /rememberProvider\(nextProviderId\)/)
|
||||
assert.match(channel, /onChange=\{\(event\) => selectProvider\(event\.target\.value\)\}/)
|
||||
assert.match(channel, /selectedProvider\?\.source === 'EXPLICIT_USER_CONFIG'/)
|
||||
assert.match(channel, /providerId: existingProviderId/)
|
||||
assert.match(channel, /setModel\(saved\?\.selectedModel \|\| configModel\.trim\(\)\)/)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue