From 0186f22a7e45cec43b9cdee81abb054767c0561a Mon Sep 17 00:00:00 2001 From: "Paul K." Date: Thu, 27 Feb 2025 16:31:26 -0500 Subject: [PATCH] chore: enhance system prompt --- package-lock.json | 4 ++-- package.json | 2 +- src/pica.ts | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index a41f30a..5d83855 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@picahq/ai", - "version": "2.1.2", + "version": "2.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@picahq/ai", - "version": "2.1.2", + "version": "2.1.3", "license": "GPL-3.0", "dependencies": { "@picahq/unified": "^1.0.0", diff --git a/package.json b/package.json index 80f44b9..432f4cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@picahq/ai", - "version": "2.1.2", + "version": "2.1.3", "description": "Pica AI SDK for Vercel AI SDK integration", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/pica.ts b/src/pica.ts index 7d43856..46722fc 100644 --- a/src/pica.ts +++ b/src/pica.ts @@ -194,8 +194,9 @@ WORKFLOW (MUST FOLLOW THIS ORDER FOR EACH PLATFORM): a. FIRST: Call getAvailableActions to list what's possible b. THEN: Identify the appropriate action from the list c. NEXT: Call getActionKnowledge to get full details - d. FINALLY: Execute with proper parameters - e. Only after completing all steps, consider if another platform is needed + d. NEXT: Verify that the connection exists in the available connections list below in the IMPORTANT GUIDELINES section + e. FINALLY: Execute with proper parameters + f. Only after completing all steps, consider if another platform is needed 2. Knowledge Parsing: - After getting knowledge, analyze it to understand: