Skip to content

Commit 2e1bfb9

Browse files
committed
fix: missing tslog dpenendency
1 parent 7c3aeac commit 2e1bfb9

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

packages/core/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"tiktoken": "1.0.17",
7676
"tinyld": "1.3.4",
7777
"together-ai": "^0.7.0",
78+
"tslog": "^4.9.3",
7879
"unique-names-generator": "4.7.1",
7980
"uuid": "11.0.2",
8081
"zod": "^3.23.8"

packages/core/src/logger.ts

-5
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ class ElizaLogger implements IElizaLogger {
180180
}
181181
}
182182

183-
// @ts-expect-error - custom implementation
184183
log(...strings) {
185184
this.#logWithStyle(strings, {
186185
fg: "white",
@@ -190,7 +189,6 @@ class ElizaLogger implements IElizaLogger {
190189
});
191190
}
192191

193-
// @ts-expect-error - custom implementation
194192
warn(...strings) {
195193
this.#logWithStyle(strings, {
196194
fg: "yellow",
@@ -200,7 +198,6 @@ class ElizaLogger implements IElizaLogger {
200198
});
201199
}
202200

203-
// @ts-expect-error - custom implementation
204201
error(...strings) {
205202
this.#logWithStyle(strings, {
206203
fg: "red",
@@ -210,7 +207,6 @@ class ElizaLogger implements IElizaLogger {
210207
});
211208
}
212209

213-
// @ts-expect-error - custom implementation
214210
info(...strings) {
215211
this.#logWithStyle(strings, {
216212
fg: "blue",
@@ -220,7 +216,6 @@ class ElizaLogger implements IElizaLogger {
220216
});
221217
}
222218

223-
// @ts-expect-error - custom implementation
224219
debug(...strings) {
225220
if (!this.verbose) return;
226221
this.#logWithStyle(strings, {

pnpm-lock.yaml

+12-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)