We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22baa0e commit 9c6b7b9Copy full SHA for 9c6b7b9
src/lib/tokenizer.ts
@@ -6,7 +6,6 @@ export const getTokenCount = (messages: Array<Message>) => {
6
const input = messages.filter(
7
(m) => m.role !== "assistant" && typeof m.content === "string",
8
)
9
- console.log(input)
10
const output = messages.filter((m) => m.role === "assistant")
11
12
const inputTokens = countTokens(input)
0 commit comments