Skip to content

Commit 06a3893

Browse files
committedNov 20, 2024
imports
1 parent b9d3b6d commit 06a3893

File tree

10 files changed

+16
-20
lines changed

10 files changed

+16
-20
lines changed
 

‎docs/docs/community/contributing.md

-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ By internalizing the OODA Loop, you can quickly identify areas where you can mak
7878
- Leverage AI assistants to help with tasks like code generation, document summarization, and content creation.
7979
- Collaborate with other community members to divide and conquer larger initiatives.
8080

81-
8281
---
8382

8483
## Contributing Guidelines
@@ -199,5 +198,3 @@ Note: we're still finalizing details on the creator/dev fund that seeks to retro
199198
4. Share your ideas and initiatives with the community - we're excited to see what you'll build!
200199

201200
Lets push the boundaries of what's possible with autonomous AI agents. Welcome aboard!
202-
203-

‎docs/docs/packages/plugins.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const character = {
111111
Create a new plugin by implementing the Plugin interface:
112112

113113
```typescript
114-
import { Plugin, Action, Evaluator, Provider } from "@ai16z/eliza/src/types";
114+
import { Plugin, Action, Evaluator, Provider } from "@ai16z/eliza";
115115

116116
const myCustomPlugin: Plugin = {
117117
name: "my-custom-plugin",

‎packages/client-discord/src/messages.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
TextChannel,
2828
ThreadChannel,
2929
} from "discord.js";
30-
import { elizaLogger } from "@ai16z/eliza/src/logger.ts";
30+
import { elizaLogger } from "@ai16z/eliza";
3131
import { AttachmentManager } from "./attachments.ts";
3232
import { VoiceManager } from "./voice.ts";
3333

‎packages/client-discord/src/voice.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ import {
3636
UUID,
3737
} from "@ai16z/eliza";
3838
import { stringToUuid } from "@ai16z/eliza";
39+
import { messageCompletionFooter } from "@ai16z/eliza";
40+
import { DiscordClient } from "./index.ts";
3941

4042
export function getWavHeader(
4143
audioLength: number,
@@ -63,9 +65,6 @@ export function getWavHeader(
6365
return wavHeader;
6466
}
6567

66-
import { messageCompletionFooter } from "@ai16z/eliza/src/parsing.ts";
67-
import { DiscordClient } from ".";
68-
6968
const discordVoiceHandlerTemplate =
7069
`# Task: Generate conversational voice dialog for {{agentName}}.
7170
About {{agentName}}:

‎packages/core/src/test_resources/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type UUID } from "@ai16z/eliza/src/types.ts";
1+
import { type UUID } from "@ai16z/eliza";
22

33
export const SERVER_URL = "http://localhost:7998";
44
export const SUPABASE_URL = "https://pronvzrzfwsptkojvudd.supabase.co";

‎packages/plugin-bootstrap/src/evaluators/fact.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { composeContext } from "@ai16z/eliza/src/context.ts";
2-
import { generateObjectArray } from "@ai16z/eliza/src/generation.ts";
1+
import { composeContext } from "@ai16z/eliza";
2+
import { generateObjectArray } from "@ai16z/eliza";
33
import { MemoryManager } from "@ai16z/eliza";
44
import {
55
ActionExample,

‎packages/plugin-bootstrap/src/evaluators/goal.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { composeContext } from "@ai16z/eliza/src/context.ts";
2-
import { generateText } from "@ai16z/eliza/src/generation.ts";
3-
import { getGoals } from "@ai16z/eliza/src/goals.ts";
4-
import { parseJsonArrayFromText } from "@ai16z/eliza/src/parsing.ts";
1+
import { composeContext } from "@ai16z/eliza";
2+
import { generateText } from "@ai16z/eliza";
3+
import { getGoals } from "@ai16z/eliza";
4+
import { parseJsonArrayFromText } from "@ai16z/eliza";
55
import {
66
IAgentRuntime,
77
Memory,

‎packages/plugin-bootstrap/src/providers/facts.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { embed } from "@ai16z/eliza/src/embedding.ts";
1+
import { embed } from "@ai16z/eliza";
22
import { MemoryManager } from "@ai16z/eliza";
3-
import { formatMessages } from "@ai16z/eliza/src/messages.ts";
3+
import { formatMessages } from "@ai16z/eliza";
44
import { IAgentRuntime, Memory, Provider, State } from "@ai16z/eliza";
55
import { formatFacts } from "../evaluators/fact.ts";
66

‎packages/plugin-image-generation/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { elizaLogger } from "@ai16z/eliza/src/logger.ts";
1+
import { elizaLogger } from "@ai16z/eliza";
22
import {
33
Action,
44
HandlerCallback,

‎packages/plugin-video-generation/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { elizaLogger } from "@ai16z/eliza/src/logger.ts";
1+
import { elizaLogger } from "@ai16z/eliza";
22
import {
33
Action,
44
HandlerCallback,
55
IAgentRuntime,
66
Memory,
77
Plugin,
88
State,
9-
} from "@ai16z/eliza/src/types.ts";
9+
} from "@ai16z/eliza";
1010
import fs from "fs";
1111
import { LUMA_CONSTANTS } from "./constants";
1212

0 commit comments

Comments
 (0)
Please sign in to comment.