Skip to content

Commit bdc3477

Browse files
add runtime property to plugins
1 parent e385037 commit bdc3477

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/utils/agents/imported.js

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const path = require("path");
33
const { safeJsonParse } = require("../http");
44
const { isWithin, normalizePath } = require("../files");
55
const { CollectorApi } = require("../collectorApi");
6+
const { Telemetry } = require("../../models/telemetry");
67
const pluginsPath =
78
process.env.NODE_ENV === "development"
89
? path.resolve(__dirname, "../../storage/plugins/agent-skills")
@@ -186,6 +187,7 @@ class ImportedPlugin {
186187
description: this.config.description,
187188
logger: aibitat?.handlerProps?.log || console.log, // Allows plugin to log to the console.
188189
introspect: aibitat?.introspect || console.log, // Allows plugin to display a "thought" the chat window UI.
190+
runtime: "docker",
189191
webScraper: sharedWebScraper,
190192
examples: this.config.examples ?? [],
191193
parameters: {

0 commit comments

Comments
 (0)