@@ -398,11 +398,12 @@ window.__ModuleLoader__.load({
398398 "memory.features.entityExtractionReasoning.medium" : "中" ,
399399 "memory.features.entityExtractionReasoning.high" : "高" ,
400400 "memory.features.summarizeReasoningEffort" : "蒸馏思考强度" ,
401+ "memory.features.summarizeReasoningEffort.off" : "关闭思考" ,
401402 "memory.features.summarizeReasoningEffort.none" : "跟随默认" ,
402403 "memory.features.summarizeReasoningEffort.low" : "低" ,
403404 "memory.features.summarizeReasoningEffort.medium" : "中" ,
404405 "memory.features.summarizeReasoningEffort.high" : "高" ,
405- "memory.features.summarizeReasoningEffort.hint" : "思考型模型建议选低档 ,避免推理烧光输出预算导致总结失败;改后重启 DSH 生效" ,
406+ "memory.features.summarizeReasoningEffort.hint" : "思考型模型建议选低档或关闭思考 ,避免推理烧光输出预算导致总结失败;改后重启 DSH 生效" ,
406407 "memory.features.entityExtractionModelHint" : "Provider/模型留空 = 跟随主对话模型;思考强度 none = 服务商默认" ,
407408 "memory.features.codingRetrospect" : "编码记忆蒸馏" ,
408409 "memory.features.codingRetrospect.hint" : "用完整转录(含工具调用与报错)提炼踩坑、约束与被否决方案" ,
@@ -794,11 +795,12 @@ window.__ModuleLoader__.load({
794795 "memory.features.entityExtractionReasoning.medium" : "Medium" ,
795796 "memory.features.entityExtractionReasoning.high" : "High" ,
796797 "memory.features.summarizeReasoningEffort" : "Distill reasoning effort" ,
798+ "memory.features.summarizeReasoningEffort.off" : "No reasoning" ,
797799 "memory.features.summarizeReasoningEffort.none" : "Follow default" ,
798800 "memory.features.summarizeReasoningEffort.low" : "Low" ,
799801 "memory.features.summarizeReasoningEffort.medium" : "Medium" ,
800802 "memory.features.summarizeReasoningEffort.high" : "High" ,
801- "memory.features.summarizeReasoningEffort.hint" : "Prefer low for thinking models so reasoning cannot drain the output budget; takes effect after a DSH restart" ,
803+ "memory.features.summarizeReasoningEffort.hint" : "Prefer low or No reasoning for thinking models so reasoning cannot drain the output budget; takes effect after a DSH restart" ,
802804 "memory.features.entityExtractionModelHint" : "Provider / model empty = follow the main conversation model; reasoning none = provider default" ,
803805 "memory.features.codingRetrospect" : "Coding retrospection" ,
804806 "memory.features.codingRetrospect.hint" : "Distill pitfalls, constraints and rejected solutions from full transcripts (tools and errors included)" ,
@@ -1961,8 +1963,10 @@ window.__ModuleLoader__.load({
19611963 const FEATURE_STRINGS = [ "dreamProvider" , "dreamModel" , "sleepProvider" , "sleepModel" , "entityExtractionProvider" , "entityExtractionModel" , "localEmbedModel" , "ollamaBaseUrl" , "ollamaModel" ] ;
19621964 const EMBED_PROVIDERS = [ "openai" , "local" , "ollama" ] ;
19631965 // 实体抽取思考强度(issue #109):与后端 FEATURE_FLAG_ENUMS 枚举对齐。
1964- // #315 起蒸馏思考强度共用同一组档位(后端枚举多一个 off,一样可发)。
1965- const REASONING_OPTIONS = [ "none" , "low" , "medium" , "high" ] ;
1966+ const ENTITY_REASONING = [ "none" , "low" , "medium" , "high" ] ;
1967+ // 蒸馏思考强度(issue #315):比 entity 多一个 off(显式关思考,思考型模型
1968+ // 蒸馏防推理烧预算)。后端枚举含 off,面板必须能选到,否则操作者用不上。
1969+ const SUMMARIZE_REASONING = [ "off" , "none" , "low" , "medium" , "high" ] ;
19661970
19671971 function FeatureRow ( { name, hint, on, disabled, onToggle, sub } ) {
19681972 return h ( "div" , { className : "mneme-featrow" , style : sub ? { paddingLeft : 18 , opacity : 0.86 } : undefined } ,
@@ -2243,7 +2247,7 @@ window.__ModuleLoader__.load({
22432247 disabled : busy ,
22442248 onChange : ( e ) => put ( { entityExtractionReasoning : e . target . value } )
22452249 } ,
2246- REASONING_OPTIONS . map ( ( r ) => h ( "option" , { key : r , value : r } , t ( `memory.features.entityExtractionReasoning.${ r } ` ) ) ) )
2250+ ENTITY_REASONING . map ( ( r ) => h ( "option" , { key : r , value : r } , t ( `memory.features.entityExtractionReasoning.${ r } ` ) ) ) )
22472251 ) ,
22482252 h ( "div" , { className : "mneme-featsubhint" } , t ( "memory.features.entityExtractionModelHint" ) )
22492253 ) ;
@@ -2260,7 +2264,7 @@ window.__ModuleLoader__.load({
22602264 disabled : busy ,
22612265 onChange : ( e ) => put ( { summarizeReasoningEffort : e . target . value } )
22622266 } ,
2263- REASONING_OPTIONS . map ( ( r ) => h ( "option" , { key : r , value : r } , t ( `memory.features.summarizeReasoningEffort.${ r } ` ) ) ) )
2267+ SUMMARIZE_REASONING . map ( ( r ) => h ( "option" , { key : r , value : r } , t ( `memory.features.summarizeReasoningEffort.${ r } ` ) ) ) )
22642268 ) ,
22652269 h ( "div" , { className : "mneme-featsubhint" } , t ( "memory.features.summarizeReasoningEffort.hint" ) )
22662270 ) ;
0 commit comments