Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 14, 2024
1 parent 55e81d7 commit d5aa5ed
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .changeset/rude-mice-add.md

This file was deleted.

32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# @statelyai/agent

## 0.0.5

### Patch Changes

- [#9](https://github.com/statelyai/agent/pull/9) [`d8e7b67`](https://github.com/statelyai/agent/commit/d8e7b673f6d265f37b2096b25d75310845860271) Thanks [@davidkpiano](https://github.com/davidkpiano)! - Add `adapter.fromTool(…)`, which creates an actor that chooses agent logic based on a input.

```ts
const actor = adapter.fromTool(() => "Draw me a picture of a donut", {
// tools
makeIllustration: {
description: "Makes an illustration",
run: async (input) => {
/* ... */
},
inputSchema: {
/* ... */
},
},
getWeather: {
description: "Gets the weather",
run: async (input) => {
/* ... */
},
inputSchema: {
/* ... */
},
},
});

//...
```

## 0.0.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@statelyai/agent",
"version": "0.0.4",
"version": "0.0.5",
"description": "",
"main": "dist/index.js",
"module": "dist/index.mjs",
Expand Down

0 comments on commit d5aa5ed

Please sign in to comment.