Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add auto to clients in types to use client-auto #1050

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: add auto to clients in types to use client-auto
  • Loading branch information
HashWarlock committed Dec 13, 2024
commit 3834c543b49380db10d6fb020b03c80cdb714dc2
4 changes: 2 additions & 2 deletions packages/client-auto/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Client, IAgentRuntime } from "@ai16z/eliza";
import { Client, IAgentRuntime, elizaLogger } from "@ai16z/eliza";

export class AutoClient {
interval: NodeJS.Timeout;
Expand All @@ -10,7 +10,7 @@ export class AutoClient {
// start a loop that runs every x seconds
this.interval = setInterval(
async () => {
console.log("running auto client...");
elizaLogger.log("running auto client...");
},
60 * 60 * 1000
); // 1 hour in milliseconds
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ export enum Clients {
TWITTER = "twitter",
TELEGRAM = "telegram",
FARCASTER = "farcaster",
AUTO = "auto",
}
/**
* Configuration for an agent character
Expand Down
Loading