MCPcopy Create free account
hub / github.com/RunanywhereAI/RCLI / rcli_destroy

Function rcli_destroy

src/api/rcli_api.cpp:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205void rcli_destroy(RCLIHandle handle) {
206 if (!handle) return;
207 auto* engine = static_cast<RCLIEngine*>(handle);
208 if (engine->initialized) {
209 engine->pipeline.stop_live();
210 }
211 delete engine;
212}
213
214int rcli_init(RCLIHandle handle, const char* models_dir, int gpu_layers) {
215 if (!handle || !models_dir) return -1;

Callers 15

create_and_init_engineFunction · 0.85
cmd_interactiveFunction · 0.85
cmd_listenFunction · 0.85
cmd_mic_testFunction · 0.85
cmd_askFunction · 0.85
cmd_vlmFunction · 0.85
cmd_cameraFunction · 0.85
cmd_screenFunction · 0.85
cmd_ragFunction · 0.85
mainFunction · 0.85
test_apiFunction · 0.85
test_use_casesFunction · 0.85

Calls 1

stop_liveMethod · 0.80

Tested by 6

test_apiFunction · 0.68
test_use_casesFunction · 0.68
test_actions_api_e2eFunction · 0.68
test_personality_apiFunction · 0.68
test_voice_benchFunction · 0.68
test_auto_compactFunction · 0.68