aimyapi 1.0.5 → 1.0.6

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.
Files changed (2) hide show
  1. package/dist/index.cjs +1 -1
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -504,7 +504,7 @@ const generateCode = async function(instance, queryText, userChatHistory, create
504
504
  messages: [
505
505
  {
506
506
  role: "system",
507
- content: "You will assist with writing code to perform the user's request."
507
+ content: "You will assist with writing code to perform the user's request. You can call `runCode` to run code in a sandboxed environment that has access to the API object. You can call `checkCode` to check code for errors without running it. Call `submitCode` when you are ready to submit the final code to run."
508
508
  },
509
509
  ...userChatHistory,
510
510
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aimyapi",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "AI My API! Typescript sandbox for AI agents to interact with your API in a safe way.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",