ui: fix stop and reasoning skip in single-model mode (#25084)

This commit is contained in:
Pascal
2026-06-28 21:06:43 +02:00
committed by GitHub
parent fa72bc6826
commit 7cb8576e7c
4 changed files with 41 additions and 9 deletions
+4 -1
View File
@@ -1983,7 +1983,10 @@ void server_models_routes::init_routes() {
cli.set_read_timeout(0, STREAM_LOOKUP_TIMEOUT_MS * 1000);
cli.set_write_timeout(0, STREAM_LOOKUP_TIMEOUT_MS * 1000);
auto resp = cli.Delete(child_path.c_str());
(void) resp; // best effort, 404 and network errors are equivalent to no op
(void) resp; // the child logs its own miss when the session is unknown there
} else {
SRV_WRN("router stop for unknown conv_id=%s, no owning child in the conv map\n",
conv_id.c_str());
}
// drop the tracking entry, the session is being torn down
models.conv_models.forget(conv_id);