Skip to content

Commit

Permalink
remove unused goals, small cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Mar 9, 2024
1 parent da24de2 commit aa2a8da
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 912 deletions.
7 changes: 4 additions & 3 deletions docs/docs/classes/BgentRuntime.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ ___

### evaluate

**evaluate**(`message`, `state`): `Promise`\<`string`[]\>
**evaluate**(`message`, `state?`): `Promise`\<`string`[]\>

Evaluate the message and state using the registered evaluators.

Expand All @@ -219,7 +219,7 @@ Evaluate the message and state using the registered evaluators.
| Name | Type | Description |
| :------ | :------ | :------ |
| `message` | [`Message`](../interfaces/Message.md) | The message to evaluate. |
| `state` | [`State`](../interfaces/State.md) | The state of the agent. |
| `state?` | [`State`](../interfaces/State.md) | The state of the agent. |

#### Returns

Expand All @@ -245,7 +245,7 @@ ___

### processActions

**processActions**(`message`, `content`): `Promise`\<`unknown`\>
**processActions**(`message`, `content`, `state?`): `Promise`\<`unknown`\>

Process the actions of a message.

Expand All @@ -255,6 +255,7 @@ Process the actions of a message.
| :------ | :------ | :------ |
| `message` | [`Message`](../interfaces/Message.md) | The message to process. |
| `content` | [`Content`](../interfaces/Content.md) | The content of the message to process actions from. |
| `state?` | [`State`](../interfaces/State.md) | - |

#### Returns

Expand Down
21 changes: 0 additions & 21 deletions docs/docs/functions/cancelGoal.md

This file was deleted.

21 changes: 0 additions & 21 deletions docs/docs/functions/finishGoal.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/docs/functions/finishGoalObjective.md

This file was deleted.

3 changes: 2 additions & 1 deletion docs/docs/functions/getProviders.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 0
custom_edit_url: null
---

**getProviders**(`runtime`, `message`): `Promise`\<`string`\>
**getProviders**(`runtime`, `message`, `state?`): `Promise`\<`string`\>

Formats provider outputs into a string which can be injected into the context.

Expand All @@ -16,6 +16,7 @@ Formats provider outputs into a string which can be injected into the context.
| :------ | :------ | :------ |
| `runtime` | [`BgentRuntime`](../classes/BgentRuntime.md) | The Bgent runtime object. |
| `message` | [`Message`](../interfaces/Message.md) | The incoming message object. |
| `state?` | [`State`](../interfaces/State.md) | The current state object. |

#### Returns

Expand Down
3 changes: 0 additions & 3 deletions docs/docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,10 @@ custom_edit_url: null

- [addHeader](functions/addHeader.md)
- [addLore](functions/addLore.md)
- [cancelGoal](functions/cancelGoal.md)
- [composeActionExamples](functions/composeActionExamples.md)
- [composeContext](functions/composeContext.md)
- [createGoal](functions/createGoal.md)
- [createRelationship](functions/createRelationship.md)
- [finishGoal](functions/finishGoal.md)
- [finishGoalObjective](functions/finishGoalObjective.md)
- [formatActionConditions](functions/formatActionConditions.md)
- [formatActionNames](functions/formatActionNames.md)
- [formatActions](functions/formatActions.md)
Expand Down
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ export default {
__TEST__: true,
__VERSION__: "0.0.1",
},
// collectCoverage: true,
// collectCoverageFrom: ["**/*.{ts}", "!**/*.test.{ts}", "!**/node_modules/**", "!**/vendor/**"],
// coverageDirectory: "../coverage",
};
Loading

0 comments on commit aa2a8da

Please sign in to comment.