Skip to content

Commit

Permalink
fix(js-sdk): Update README, bump to 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jzanecook committed Apr 2, 2024
1 parent 16fa396 commit 5296038
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/sdk/js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function taskHandler(taskInput: TaskInput | null): Promise<StepHandler> {
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.
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/js/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -55,4 +55,4 @@
"js-yaml": "^4.1.0",
"uuid": "^9.0.0"
}
}
}

0 comments on commit 5296038

Please sign in to comment.