MCPcopy Create free account
hub / github.com/continuedev/continue / tokenizer.test.ts

File tokenizer.test.ts

extensions/cli/src/util/tokenizer.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { ModelConfig } from "@continuedev/config-yaml";
2import type { ChatHistoryItem } from "core/index.js";
3import { beforeEach, describe, expect, it, vi } from "vitest";
4

Callers

nothing calls this directly

Calls 10

getModelContextLimitFunction · 0.85
countChatHistoryTokensFunction · 0.85
createModelFunction · 0.85
calculateThresholdFunction · 0.85
createChatHistoryFunction · 0.85
shouldAutoCompactFunction · 0.85
mockMethod · 0.80

Tested by

no test coverage detected