Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/continuedev/continue
/ decode
Method
decode
core/llm/asyncEncoder.ts:7–7 ·
view source on GitHub ↗
(tokens: number[])
Source
from the content-addressed store, hash-verified
5
export
interface
AsyncEncoder {
6
encode(text: string): Promise<number[]>;
7
decode(tokens: number[]): Promise<string>;
8
close(): Promise<void>;
9
}
10
Callers
15
streamResponse
Function · 0.65
getInvokeModelResponseBody
Method · 0.65
__init__
Method · 0.65
response_deserialize
Method · 0.65
getDecodedOutput
Function · 0.65
decode
Method · 0.65
decode
Method · 0.65
pruneStringFromBottom
Function · 0.65
pruneStringFromTop
Function · 0.65
decodeVocabulary
Method · 0.65
decode
Method · 0.65
testCase
Method · 0.65
Implementers
3
LlamaAsyncEncoder
core/llm/asyncEncoder.ts
GPTAsyncEncoder
core/llm/asyncEncoder.ts
NonWorkerAsyncEncoder
core/llm/countTokens.ts
Calls
no outgoing calls
Tested by
1
getText
Method · 0.52