diff --git a/scripts/test-ParsedValueView-strict.mjs b/scripts/test-ParsedValueView-strict.mjs index 4e5d1d2..08fc6b5 100644 --- a/scripts/test-ParsedValueView-strict.mjs +++ b/scripts/test-ParsedValueView-strict.mjs @@ -43,11 +43,17 @@ for (const snippet of forbiddenCompatibilitySnippets) { const requiredStrictRenderingSnippets = [ "LONG_TEXT_KEYS.sceneImage", "LONG_TEXT_KEYS.commodityList", + "LONG_TEXT_KEYS.photoList", "commodity.commodity_id", "commodity.commodity_name", "commodity.commodity_price", "commodity.commodity_tag", "commodity.commodity_photo", + " 1", "formatListMarker(index)", diff --git a/scripts/test-longTextCard.mjs b/scripts/test-longTextCard.mjs index c56d4dc..ecd42b7 100644 --- a/scripts/test-longTextCard.mjs +++ b/scripts/test-longTextCard.mjs @@ -61,6 +61,12 @@ const expectedNewKeys = { pitfallSectionTitle: "pitfall_section_title", pitfallSectionItems: "pitfall_section_items", commodityList: "commodity_list", + photoSpotSectionTitle: "photo_spot_section_title", + photoSpotSectionItems: "photo_spot_section_items", + bestTimeSuggestion: "best_time_suggestion", + phoneSectionTitle: "phone_section_title", + phoneSectionItems: "phone_section_items", + photoList: "photo_list", }; for (const [keyName, keyValue] of Object.entries(expectedNewKeys)) { diff --git a/src/pages/ChatMain/ChatLongAnswer/ParsedValueView.vue b/src/pages/ChatMain/ChatLongAnswer/ParsedValueView.vue index 529e667..ed5b1f3 100644 --- a/src/pages/ChatMain/ChatLongAnswer/ParsedValueView.vue +++ b/src/pages/ChatMain/ChatLongAnswer/ParsedValueView.vue @@ -67,6 +67,38 @@ + +