-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add goals, provider tests, doc updates, small fixes
- Loading branch information
Showing
41 changed files
with
678 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
id: "GoalStatus" | ||
title: "Enumeration: GoalStatus" | ||
sidebar_label: "GoalStatus" | ||
sidebar_position: 0 | ||
custom_edit_url: null | ||
--- | ||
|
||
## Enumeration Members | ||
|
||
### DONE | ||
|
||
• **DONE** = ``"DONE"`` | ||
|
||
___ | ||
|
||
### FAILED | ||
|
||
• **FAILED** = ``"FAILED"`` | ||
|
||
___ | ||
|
||
### IN\_PROGRESS | ||
|
||
• **IN\_PROGRESS** = ``"IN_PROGRESS"`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
label: "Enumerations" | ||
position: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
id: "addHeader" | ||
title: "Function: addHeader" | ||
sidebar_label: "addHeader" | ||
sidebar_position: 0 | ||
custom_edit_url: null | ||
--- | ||
|
||
▸ **addHeader**(`header`, `context`): `string` | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `header` | `string` | | ||
| `context` | `string` | | ||
|
||
#### Returns | ||
|
||
`string` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
id: "getProviders" | ||
title: "Function: getProviders" | ||
sidebar_label: "getProviders" | ||
sidebar_position: 0 | ||
custom_edit_url: null | ||
--- | ||
|
||
▸ **getProviders**(`runtime`, `message`): `Promise`\<`string`\> | ||
|
||
Formats provider outputs into a string which can be injected into the context. | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `runtime` | [`BgentRuntime`](../classes/BgentRuntime.md) | | ||
| `message` | [`Message`](../interfaces/Message.md) | | ||
|
||
#### Returns | ||
|
||
`Promise`\<`string`\> | ||
|
||
A string that concatenates the outputs of each provider. |
12 changes: 6 additions & 6 deletions
12
docs/docs/functions/updateGoals.md → docs/docs/functions/updateGoal.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
--- | ||
id: "updateGoals" | ||
title: "Function: updateGoals" | ||
sidebar_label: "updateGoals" | ||
id: "updateGoal" | ||
title: "Function: updateGoal" | ||
sidebar_label: "updateGoal" | ||
sidebar_position: 0 | ||
custom_edit_url: null | ||
--- | ||
|
||
▸ **updateGoals**(`«destructured»`): `Promise`\<`void`\> | ||
▸ **updateGoal**(`«destructured»`): `Promise`\<`PostgrestSingleResponse`\<``null``\>\> | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `«destructured»` | `Object` | | ||
| › `goals` | [`Goal`](../interfaces/Goal.md)[] | | ||
| › `goal` | [`Goal`](../interfaces/Goal.md) | | ||
| › `runtime` | [`BgentRuntime`](../classes/BgentRuntime.md) | | ||
| › `userIds` | \`$\{string}-$\{string}-$\{string}-$\{string}-$\{string}\`[] | | ||
|
||
#### Returns | ||
|
||
`Promise`\<`void`\> | ||
`Promise`\<`PostgrestSingleResponse`\<``null``\>\> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ ___ | |
|
||
### id | ||
|
||
• **id**: `string` | ||
• `Optional` **id**: `string` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
id: "Provider" | ||
title: "Interface: Provider" | ||
sidebar_label: "Provider" | ||
sidebar_position: 0 | ||
custom_edit_url: null | ||
--- | ||
|
||
## Properties | ||
|
||
### get | ||
|
||
• **get**: (`runtime`: [`BgentRuntime`](../classes/BgentRuntime.md), `message`: [`Message`](Message.md), `state?`: [`State`](State.md)) => `Promise`\<`unknown`\> | ||
|
||
#### Type declaration | ||
|
||
▸ (`runtime`, `message`, `state?`): `Promise`\<`unknown`\> | ||
|
||
##### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `runtime` | [`BgentRuntime`](../classes/BgentRuntime.md) | | ||
| `message` | [`Message`](Message.md) | | ||
| `state?` | [`State`](State.md) | | ||
|
||
##### Returns | ||
|
||
`Promise`\<`unknown`\> |
Oops, something went wrong.