MCPcopy
hub / github.com/opentrace/opentrace / handleStrategyChange

Function handleStrategyChange

ui/src/appComponents/SettingsDrawer.tsx:126–129  ·  view source on GitHub ↗
(strategy: SummarizationStrategyType)

Source from the content-addressed store, hash-verified

124 };
125
126 const handleStrategyChange = (strategy: SummarizationStrategyType) => {
127 setSummaryStrategy(strategy);
128 saveSummarizerStrategy(strategy);
129 };
130
131 const handleLlmConfigChange = (url: string, model: string) => {
132 setLlmConfig({ url, model });

Callers 1

SettingsDrawerFunction · 0.85

Calls 1

saveSummarizerStrategyFunction · 0.90

Tested by

no test coverage detected