Skip to content

Commit

Permalink
fix action export, reduce runAiTest to 3 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Mar 7, 2024
1 parent 85bfc6b commit 2960f0f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bgent",
"version": "0.0.34",
"version": "0.0.35",
"private": false,
"description": "bgent. because agent was taken.",
"type": "module",
Expand Down
9 changes: 9 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ export { zeroUuid, zeroUuidPlus1 } from "./lib/constants";
// Export from ./src/lib/context
export { addHeader, composeContext } from "./lib/context";

import wait from "./lib/actions/wait";
export { wait };

import elaborate from "./lib/actions/elaborate";
export { elaborate };

import ignore from "./lib/actions/ignore";
export { ignore };

// Export from ./src/lib/evaluators
export {
defaultEvaluators,
Expand Down
2 changes: 0 additions & 2 deletions src/lib/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import elaborate from "./actions/elaborate";
import ignore from "./actions/ignore";
import wait from "./actions/wait";

export { elaborate, ignore, wait };

export const defaultActions: Action[] = [elaborate, wait, ignore];

/**
Expand Down
2 changes: 1 addition & 1 deletion src/test/runAiTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { addToReport } from "./report";
export async function runAiTest(
testName: string,
testFunc: () => Promise<boolean>,
runs: number = 4,
runs: number = 3,
) {
let successful = 0;

Expand Down

0 comments on commit 2960f0f

Please sign in to comment.