小更新
Browse filesFiles changed (4)
26 unmodified lines27282930313226 unmodified lines"slug": "CoT | 多“跳”推理","label": "CoT | 多跳推理中“跳”的具象化"},{"slug": "过拟合|李白 将进酒","label": "过拟合|李白 将进酒",26 unmodified lines2728293031323334353626 unmodified lines"slug": "CoT | 多“跳”推理","label": "CoT | 多跳推理中“跳”的具象化"},{"slug": "strawberry里有几个r","label": "CoT | strawberry里有几个r"},{"slug": "过拟合|李白 将进酒","label": "过拟合|李白 将进酒",
2 unmodified lines34562 unmodified lines*/export type GenAttributeBundledDemoFeaturedStyle = 'bold';export type GenAttributeBundledDemoManifestEntry = { readonly slug: string; readonly label: string; readonly featured?: GenAttributeBundledDemoFeaturedStyle };export const GEN_ATTRIBUTE_BUNDLED_DEMOS: readonly GenAttributeBundledDemoManifestEntry[] = [{"slug":"Write a sonnet about love","label":"Poem | Write a sonnet about love","featured":"bold"},{"slug":"写一首绝句,主题是春天","label":"写诗 | 写一首绝句,主题是春天","featured":"bold"},{"slug":"CoT | 苏州所在省的省会","label":"CoT | 苏州所在省的省会","featured":"bold"},{"slug":"CoT | 苏州所在省的省会城市里最高的山","label":"CoT | 苏州所在省的省会的最高的山"},{"slug":"CoT | 反向传播归因动画","label":"CoT | 思维链的反向传播归因动画","featured":"bold"},{"slug":"CoT | 多“跳”推理","label":"CoT | 多跳推理中“跳”的具象化"},{"slug":"过拟合|李白 将进酒","label":"过拟合|李白 将进酒","featured":"bold"},{"slug":"CN->EN翻译","label":"CN->EN | 翻译"}];2 unmodified lines34562 unmodified lines*/export type GenAttributeBundledDemoFeaturedStyle = 'bold';export type GenAttributeBundledDemoManifestEntry = { readonly slug: string; readonly label: string; readonly featured?: GenAttributeBundledDemoFeaturedStyle };export const GEN_ATTRIBUTE_BUNDLED_DEMOS: readonly GenAttributeBundledDemoManifestEntry[] = [{"slug":"Write a sonnet about love","label":"Poem | Write a sonnet about love","featured":"bold"},{"slug":"写一首绝句,主题是春天","label":"写诗 | 写一首绝句,主题是春天","featured":"bold"},{"slug":"CoT | 苏州所在省的省会","label":"CoT | 苏州所在省的省会","featured":"bold"},{"slug":"CoT | 苏州所在省的省会城市里最高的山","label":"CoT | 苏州所在省的省会的最高的山"},{"slug":"CoT | 反向传播归因动画","label":"CoT | 思维链的反向传播归因动画","featured":"bold"},{"slug":"CoT | 多“跳”推理","label":"CoT | 多跳推理中“跳”的具象化"},{"slug":"strawberry里有几个r","label":"CoT | strawberry里有几个r"},{"slug":"过拟合|李白 将进酒","label":"过拟合|李白 将进酒","featured":"bold"},{"slug":"CN->EN翻译","label":"CN->EN | 翻译"}];
1708 unmodified lines17091710171117121713171417151716171717181719129 unmodified lines1849185018511852185318541855185618571858185918601708 unmodified linesfunction syncGenAttrContentUrl(contentKey: string): void {replaceDemoUrlParam(null, DEFAULT_DEMO_URL_PARAM, 'causal_flow');replaceContentUrlParam(contentKey, DEFAULT_CONTENT_URL_PARAM, 'causal_flow');}function syncGenAttrDemoUrl(slug: string): void {replaceContentUrlParam(null, DEFAULT_CONTENT_URL_PARAM, 'causal_flow');replaceDemoUrlParam(slug, DEFAULT_DEMO_URL_PARAM, 'causal_flow');}/** demo / cached history / `?content=` / `?demo=` 并发恢复时只采纳最后一次意图 */129 unmodified linesreturn;}if (options.afterUrl.kind === 'content') {replaceDemoUrlParam(null, DEFAULT_DEMO_URL_PARAM, 'causal_flow');replaceContentUrlParam(options.afterUrl.contentKey, DEFAULT_CONTENT_URL_PARAM, 'causal_flow');} else {syncGenAttrDemoUrl(options.afterUrl.slug);}syncGenAttrCachedDemosValueDisplay();}/** 从缓存恢复运行;`shouldTouch` 为 true 时 touch MRU(下拉选中恒为 false,↑ 置顶走单独路径)。 */1708 unmodified lines1709171017111712171317141715171617171718171917201721129 unmodified lines18511852185318541855185618571858185918601708 unmodified linesfunction syncGenAttrContentUrl(contentKey: string): void {replaceDemoUrlParam(null, DEFAULT_DEMO_URL_PARAM, 'causal_flow');replaceContentUrlParam(contentKey, DEFAULT_CONTENT_URL_PARAM, 'causal_flow');syncGenAttrCachedDemosValueDisplay();}function syncGenAttrDemoUrl(slug: string): void {replaceContentUrlParam(null, DEFAULT_CONTENT_URL_PARAM, 'causal_flow');replaceDemoUrlParam(slug, DEFAULT_DEMO_URL_PARAM, 'causal_flow');syncGenAttrCachedDemosValueDisplay();}/** demo / cached history / `?content=` / `?demo=` 并发恢复时只采纳最后一次意图 */129 unmodified linesreturn;}if (options.afterUrl.kind === 'content') {syncGenAttrContentUrl(options.afterUrl.contentKey);} else {syncGenAttrDemoUrl(options.afterUrl.slug);}}/** 从缓存恢复运行;`shouldTouch` 为 true 时 touch MRU(下拉选中恒为 false,↑ 置顶走单独路径)。 */
client/src/assets/demos/causal_flow/order.json+4
client/src/assets/demos/causal_flow/strawberry里有几个r.jsonAdded
client/src/features/causal_flow/genAttributeBundledDemoManifest.generated.ts+1-1
client/src/pages/causal_flow/index.ts+3-3