refactor: several improvements (#132)

- js export expression
- check args regarding run-agent/run-tool
This commit is contained in:
sigoden
2024-11-30 17:14:21 +08:00
committed by GitHub
parent c4ba6ff379
commit d2a537c374
11 changed files with 52 additions and 24 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
* @property {string[]} [array_optional] - Define a optional string array property
* @param {Args} args
*/
exports.run = function run(args) {
exports.run = function (args) {
let output = `string: ${args.string}
string_enum: ${args.string_enum}
string_optional: ${args.string_optional}