agent-swarm-kit 1.0.237 → 1.0.238
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.cjs +3 -1
- package/build/index.mjs +3 -1
- package/package.json +1 -1
package/build/index.cjs
CHANGED
|
@@ -8346,7 +8346,9 @@ class AgentValidationService {
|
|
|
8346
8346
|
if (!agent) {
|
|
8347
8347
|
throw new Error(`agent-swarm agent ${agentName} not found source=${source}`);
|
|
8348
8348
|
}
|
|
8349
|
-
|
|
8349
|
+
if (!agent.operator) {
|
|
8350
|
+
this.completionValidationService.validate(agent.completion, source);
|
|
8351
|
+
}
|
|
8350
8352
|
agent.tools?.forEach((toolName) => {
|
|
8351
8353
|
if (typeof toolName !== "string") {
|
|
8352
8354
|
throw new Error(`agent-swarm agent ${agentName} tool list is invalid (toolName=${String(toolName)}) source=${source}`);
|
package/build/index.mjs
CHANGED
|
@@ -8344,7 +8344,9 @@ class AgentValidationService {
|
|
|
8344
8344
|
if (!agent) {
|
|
8345
8345
|
throw new Error(`agent-swarm agent ${agentName} not found source=${source}`);
|
|
8346
8346
|
}
|
|
8347
|
-
|
|
8347
|
+
if (!agent.operator) {
|
|
8348
|
+
this.completionValidationService.validate(agent.completion, source);
|
|
8349
|
+
}
|
|
8348
8350
|
agent.tools?.forEach((toolName) => {
|
|
8349
8351
|
if (typeof toolName !== "string") {
|
|
8350
8352
|
throw new Error(`agent-swarm agent ${agentName} tool list is invalid (toolName=${String(toolName)}) source=${source}`);
|