ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { createTokenizer, getRegexByEncoder, getSpecialTokensByEncoder, TikTokenizer } from '@microsoft/tiktokenizer';
import { MovingAverage } from '../../../util/vs/base/common/numbers';
import { StopWatch } from '../../../util/vs/base/common/stopwatch';
import { parseTikTokenBinary } from './parseTikTokens';
export type TokenDictionaryParser = (file: string) => string | Map<Uint8Array, number>;
export class TikTokenImpl
_instance TikTokenImpl
_values TikTokenizer
_stats
encodeDuration
textLength
callCount
TikTokenImpl
_instance
_instance
_instance
tokenFilePath encoderName useBinaryTokens
handle _valueslength
parser TokenDictionaryParser useBinaryTokens f f
_values
tokenFilePath
encoderName
encoderName
handle
handle text allowedSpecial
sw StopWatch
result _valueshandletext allowedSpecial
_statscallCount
_statsencodeDurationsw
_statstextLengthtextlength
result
handle
_valueshandle
oldValue _stats
result
callCount oldValuecallCount
encodeDuration oldValueencodeDurationvalue
textLength oldValuetextLengthvalue
_statsencodeDuration
_statstextLength
_statscallCount
result