Skip to content

Commit 153d242

Browse files
authored
Merge pull request #1050 from ai16z/hash/fix-load-auto-client
fix: add auto to clients in types to use client-auto
2 parents 579dc50 + 3834c54 commit 153d242

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/client-auto/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Client, IAgentRuntime } from "@ai16z/eliza";
1+
import { Client, IAgentRuntime, elizaLogger } from "@ai16z/eliza";
22

33
export class AutoClient {
44
interval: NodeJS.Timeout;
@@ -10,7 +10,7 @@ export class AutoClient {
1010
// start a loop that runs every x seconds
1111
this.interval = setInterval(
1212
async () => {
13-
console.log("running auto client...");
13+
elizaLogger.log("running auto client...");
1414
},
1515
60 * 60 * 1000
1616
); // 1 hour in milliseconds

packages/core/src/types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ export enum Clients {
611611
TWITTER = "twitter",
612612
TELEGRAM = "telegram",
613613
FARCASTER = "farcaster",
614+
AUTO = "auto",
614615
}
615616
/**
616617
* Configuration for an agent character

0 commit comments

Comments
 (0)