agency-lang 0.0.30 → 0.0.32

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.
@@ -160,10 +160,10 @@ export class TypeScriptGenerator extends BaseGenerator {
160
160
  functionArgs: interpolatedVars,
161
161
  prompt: node,
162
162
  });
163
- this.generatedStatements.push(functionCode);
163
+ //this.generatedStatements.push(functionCode);
164
164
  const argsStr = [...interpolatedVars, "__messages"].join(", ");
165
165
  // Generate the function call
166
- return `const ${variableName} = await _${variableName}(${argsStr});` + "\n";
166
+ return `${functionCode}\nconst ${variableName} = await _${variableName}(${argsStr});` + "\n";
167
167
  }
168
168
  processTool(node) {
169
169
  const { functionName, body, parameters } = node;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agency-lang",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "The Agency language",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {