MCPcopy Create free account
hub / github.com/Roy3838/Observer / applySamplerParams

Function applySamplerParams

app/src/components/LlmDebugPanel.tsx:138–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136
137 // Apply sampler params
138 const applySamplerParams = async () => {
139 try {
140 await NativeLlmManager.getInstance().setSamplerParams(samplerParams);
141 setSamplerDirty(false);
142 await fetchDebugInfo();
143 } catch (e) {
144 setError(e instanceof Error ? e.message : String(e));
145 }
146 };
147
148 // Handle image capture from camera
149 const handleImageCapture = (event: React.ChangeEvent<HTMLInputElement>) => {

Callers

nothing calls this directly

Calls 2

setSamplerParamsMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected