Skip to content

Commit b4408d9

Browse files
committed
patch
1 parent 8247670 commit b4408d9

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agent-swarm-kit",
3-
"version": "1.1.145",
3+
"version": "1.1.146",
44
"description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
55
"author": {
66
"name": "Petr Tripolsky",

src/functions/target/execute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const executeInternal = beginContext(
6262
let result = "";
6363
let errorValue = null;
6464

65-
const unError = errorSubject.once(([errorClientId, error]) => {
65+
const unError = errorSubject.subscribe(([errorClientId, error]) => {
6666
if (clientId === errorClientId) {
6767
errorValue = error;
6868
}

src/functions/target/executeForce.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const executeForceInternal = beginContext(
3737
let result = "";
3838
let errorValue = null;
3939

40-
const unError = errorSubject.once(([errorClientId, error]) => {
40+
const unError = errorSubject.subscribe(([errorClientId, error]) => {
4141
if (clientId === errorClientId) {
4242
errorValue = error;
4343
}

src/functions/target/json.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ const jsonInternal = beginContext(
152152
let output: IModelMessage | IOutlineMessage;
153153
let errorValue = null;
154154

155-
const unError = errorSubject.once(([errorClientId, error]) => {
155+
const unError = errorSubject.subscribe(([errorClientId, error]) => {
156156
if (clientId === errorClientId) {
157157
errorValue = error;
158158
}

src/functions/target/runStateless.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const runStatelessInternal = beginContext(
6262
let result = "";
6363
let errorValue = null;
6464

65-
const unError = errorSubject.once(([errorClientId, error]) => {
65+
const unError = errorSubject.subscribe(([errorClientId, error]) => {
6666
if (clientId === errorClientId) {
6767
errorValue = error;
6868
}

src/functions/target/runStatelessForce.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const runStatelessForceInternal = beginContext(
3737
let result = "";
3838
let errorValue = null;
3939

40-
const unError = errorSubject.once(([errorClientId, error]) => {
40+
const unError = errorSubject.subscribe(([errorClientId, error]) => {
4141
if (clientId === errorClientId) {
4242
errorValue = error;
4343
}

0 commit comments

Comments
 (0)