()
| 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>) => { |
nothing calls this directly
no test coverage detected