fix(翻译优化):优化点击预览
deploy-hxtesting / build-and-deploy (push) Successful in 1m14s

This commit is contained in:
runny committed 2026-12-01 00:53:46 +08:00
1 parent 2048251eff
commit 8c3d0ee31c
3 files changed
+14 -4

No files matched your search

+5 -1
View File
@@ -280,8 +280,12 @@ func TestXlsxTranslateToolWithoutSandbox(t *testing.T) {
if !result.Success {
t.Fatalf("tool failed: %s", result.Error)
}
wantLink := "[D4-A08AR12000002-A3-SIP_EN.xlsx](sandbox:D4-A08AR12000002-A3-SIP_EN.xlsx)"
if !strings.Contains(result.Output, wantLink) {
t.Fatalf("output missing clickable file link %s: %s", wantLink, result.Output)
}
if !strings.Contains(result.Output, "file card") {
t.Fatalf("output should point at the artifact card: %s", result.Output)
t.Fatalf("output should mention the file card: %s", result.Output)
}
msg := sink.messages["assistant-1"]