aimyapi 1.0.5 → 1.0.7

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/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 or modifying code based on the user's request."
508
508
  },
509
509
  ...userChatHistory,
510
510
  {
package/dist/index.js 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 or modifying code based on the user's request."
508
508
  },
509
509
  ...userChatHistory,
510
510
  {
package/dist/index.mjs CHANGED
@@ -482,7 +482,7 @@ const generateCode = async function(instance, queryText, userChatHistory, create
482
482
  messages: [
483
483
  {
484
484
  role: "system",
485
- content: "You will assist with writing code to perform the user's request."
485
+ content: "You will assist with writing or modifying code based on the user's request."
486
486
  },
487
487
  ...userChatHistory,
488
488
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aimyapi",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
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",
@@ -1,8 +1,8 @@
1
1
 
2
2
  Most recent user query:
3
- ```
4
3
  {{USER_QUERY}}
5
- ```
4
+
5
+ ---
6
6
 
7
7
  Based on the above conversation, write a typescript script that performs the next operation requested by the user.
8
8
 
package/src/index.ts CHANGED
@@ -164,7 +164,7 @@ export const generateCode = async function(instance:AIMyAPIInstance, queryText:s
164
164
  messages: [
165
165
  {
166
166
  role: 'system',
167
- content: "You will assist with writing code to perform the user's request.",
167
+ content: "You will assist with writing or modifying code based on the user's request.",
168
168
  },
169
169
  ...userChatHistory,
170
170
  {