From 52960383f4adca11061bd39358c5933df7eb8b24 Mon Sep 17 00:00:00 2001 From: "J. Zane Cook" Date: Tue, 2 Apr 2024 13:05:17 -0500 Subject: [PATCH] fix(js-sdk): Update README, bump to 1.0.5 --- packages/sdk/js/README.md | 2 +- packages/sdk/js/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sdk/js/README.md b/packages/sdk/js/README.md index b0b70b4..cd184d0 100644 --- a/packages/sdk/js/README.md +++ b/packages/sdk/js/README.md @@ -35,7 +35,7 @@ async function taskHandler(taskInput: TaskInput | null): Promise { return stepHandler } -Agent.handleTask(taskHandler).start() +Agent.handleTask(taskHandler, {}).start() ``` See the [https://github.com/AI-Engineer-Foundation/agent-protocol/tree/main/packages/sdk/js/examples](examples folder) for running in serverless environments. diff --git a/packages/sdk/js/package.json b/packages/sdk/js/package.json index d4b0dc5..1b24e5f 100644 --- a/packages/sdk/js/package.json +++ b/packages/sdk/js/package.json @@ -1,6 +1,6 @@ { "name": "agent-protocol", - "version": "1.0.4", + "version": "1.0.5", "description": "API for interacting with Agent", "homepage": "https://agentprotocol.ai", "license": "MIT", @@ -55,4 +55,4 @@ "js-yaml": "^4.1.0", "uuid": "^9.0.0" } -} +} \ No newline at end of file