feat(worker): dispatch verified backends and preserve request-level failures

This commit is contained in:
baketnk committed 2026-09-24 22:50:37 -04:00
1 parent ebaae02b97
commit 9832ec1fd4
8 files changed
+549 -18

No files matched your search

+3 -1
View File
@@ -23,7 +23,9 @@ public:
Worker(const Worker&) = delete;
Worker& operator=(const Worker&) = delete;
void start(const std::string& python, const std::string& script,
const std::string& model, int threads = 2, bool advanced_debug = false);
const std::string& model, int threads = 2, bool advanced_debug = false,
const std::string& backend = {}, const std::string& manifest_dir = {},
const std::string& root = {});
bool ready() const;
void submit(uint64_t id, const std::vector<float>& pcm);
std::optional<WorkerReply> poll();