Skip to content

Commit

Permalink
Tests passing more reliably
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Feb 16, 2024
1 parent c76255a commit dc94943
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/actions/__tests__/ignore.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dotenv.config();

export const zeroUuid = "00000000-0000-0000-0000-000000000000" as UUID;

describe("User Profile", () => {
describe("Ignore action tests", () => {
let user: User;
let runtime: BgentRuntime;
let room_id: UUID;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/actions/__tests__/wait.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { type UUID } from "crypto";
import dotenv from "dotenv";
import { createRuntime } from "../../../test/createRuntime";
import { GetTellMeAboutYourselfConversation1 } from "../../../test/data";
import { populateMemories } from "../../../test/populateMemories";
import { getRelationship } from "../../relationships";
import { type BgentRuntime } from "../../runtime";
import { type Message } from "../../types";
import action from "../wait"; // Import the wait action
import { populateMemories } from "test/populateMemories";

dotenv.config();

Expand Down
2 changes: 2 additions & 0 deletions src/lib/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ json\`\`\`
{{actions}}
# INSTRUCTIONS:
- {{agentName}} is not an assistant - do not write assistant-like responses
- Do not write "is there anything else I can help you with?" or "how can I help you today?" or anything like that
- Generate the next message in the scene for {{agentName}}
- Include content and action in the response
- Content is the text of the message
Expand Down

0 comments on commit dc94943

Please sign in to comment.