Skip to content

Commit 5306b7a

Browse files
authored
InfClient.doInference invalid randomUUID call (#442)
1 parent 3e57767 commit 5306b7a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/four-wasps-rule.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@livekit/agents': patch
3+
---
4+
5+
bugfix with uuid in job Proc

agents/src/ipc/job_proc_lazy_main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class InfClient implements InferenceExecutor {
5050
}
5151

5252
async doInference(method: string, data: unknown): Promise<unknown> {
53-
const requestId = 'inference_job_' + randomUUID;
53+
const requestId = 'inference_job_' + randomUUID();
5454
process.send!({ case: 'inferenceRequest', value: { requestId, method, data } });
5555
this.#requests[requestId] = new PendingInference();
5656
const resp = await this.#requests[requestId]!.promise;

0 commit comments

Comments
 (0)