fix: localize simulation description and display A-Copilot in v1.2.18
This commit is contained in:
@@ -92,6 +92,15 @@ function renderResponse(message, now, reducedMotion = false, extra = {}) {
|
||||
return renderToStaticMarkup(ProgressiveChatResponse({ message, dark: true, children: React.createElement('button', null, '승인'), ...extra }))
|
||||
}
|
||||
|
||||
test('managed agent responses display A-Copilot without an internal provider ID or duplicate model name', () => {
|
||||
const html = renderResponse({ content: '분석 결과', provider: 'A_COPILOT', model: 'A-Copilot' }, 0)
|
||||
assert.ok(html.includes('A-Copilot'))
|
||||
assert.ok(!html.includes('A_COPILOT'))
|
||||
assert.ok(!html.includes('A-Copilot · A-Copilot'))
|
||||
assert.equal((html.match(/>A-Copilot<\/p>/g) ?? []).length, 1)
|
||||
assert.ok(renderResponse({ content: '결과', provider: 'QWEN', model: 'qwen3.8-max' }, 0).includes('QWEN · qwen3.8-max'))
|
||||
})
|
||||
|
||||
test('approval controls wait for the explanation; restored history does not replay', () => {
|
||||
const message = { role: 'assistant', revealStartedAt: 1000, plan: { summary: '조향 설명', explanation: content }, provider: 'QWEN', model: 'test' }
|
||||
const first = renderResponse(message, 1000)
|
||||
|
||||
Reference in New Issue
Block a user