@@ -21,12 +21,14 @@ import {
2121 type LlamaContextOptions , type SequenceEvaluateOptions , type BatchingOptions , type LlamaContextSequenceRepeatPenalty ,
2222 type CustomBatchingDispatchSchedule , type CustomBatchingPrioritizationStrategy , type BatchItem , type PrioritizedBatchItem ,
2323 type ContextShiftOptions , type ContextTokensDeleteRange , type EvaluationPriority , type SequenceEvaluateMetadataOptions ,
24- type SequenceEvaluateOutput , type ControlledEvaluateInputItem , type ControlledEvaluateIndexOutput
24+ type SequenceEvaluateOutput , type ControlledEvaluateInputItem , type ControlledEvaluateIndexOutput ,
25+ type LlamaContextSequenceDryRepeatPenalty
2526} from "./evaluator/LlamaContext/types.js" ;
2627import { TokenBias } from "./evaluator/TokenBias.js" ;
2728import {
28- LlamaChatSession , type LlamaChatSessionOptions , type LlamaChatSessionContextShiftOptions ,
29- type LLamaChatPromptOptions , type LLamaChatCompletePromptOptions , type LlamaChatSessionRepeatPenalty , type LLamaChatPreloadPromptOptions
29+ LlamaChatSession , type LlamaChatSessionOptions , type LlamaChatSessionContextShiftOptions , type LLamaChatPromptOptions ,
30+ type LLamaChatCompletePromptOptions , type LlamaChatSessionRepeatPenalty , type LLamaChatPreloadPromptOptions ,
31+ type LlamaChatSessionDryRepeatPenalty
3032} from "./evaluator/LlamaChatSession/LlamaChatSession.js" ;
3133import { defineChatSessionFunction } from "./evaluator/LlamaChatSession/utils/defineChatSessionFunction.js" ;
3234import {
@@ -98,7 +100,8 @@ import {
98100 type Token , type Tokenizer , type Detokenizer , isChatModelResponseFunctionCall , isChatModelResponseSegment ,
99101 type LLamaContextualRepeatPenalty , type ChatWrapperSettings , type ChatWrapperSettingsSegment ,
100102 type ChatWrapperGenerateContextStateOptions , type ChatWrapperGeneratedContextState , type ChatWrapperGeneratedPrefixTriggersContextState ,
101- type ChatWrapperGeneratedInitiallyEngagedFunctionsContextState , type ChatWrapperGenerateInitialHistoryOptions
103+ type ChatWrapperGeneratedInitiallyEngagedFunctionsContextState , type ChatWrapperGenerateInitialHistoryOptions ,
104+ type LLamaContextualDryRepeatPenalty
102105} from "./types.js" ;
103106import {
104107 type GbnfJsonArraySchema , type GbnfJsonBasicSchema , type GbnfJsonConstSchema , type GbnfJsonEnumSchema , type GbnfJsonStringSchema ,
@@ -159,6 +162,7 @@ export {
159162 type SequenceEvaluateMetadataOptions ,
160163 type SequenceEvaluateOutput ,
161164 type LlamaContextSequenceRepeatPenalty ,
165+ type LlamaContextSequenceDryRepeatPenalty ,
162166 type ControlledEvaluateInputItem ,
163167 type ControlledEvaluateIndexOutput ,
164168 TokenBias ,
@@ -176,13 +180,15 @@ export {
176180 type LLamaChatPromptOptions ,
177181 type LLamaChatCompletePromptOptions ,
178182 type LlamaChatSessionRepeatPenalty ,
183+ type LlamaChatSessionDryRepeatPenalty ,
179184 type LLamaChatPreloadPromptOptions ,
180185 LlamaChat ,
181186 type LlamaChatOptions ,
182187 type LLamaChatGenerateResponseOptions ,
183188 type LLamaChatLoadAndCompleteUserMessageOptions ,
184189 type LLamaChatContextShiftOptions ,
185190 type LLamaContextualRepeatPenalty ,
191+ type LLamaContextualDryRepeatPenalty ,
186192 type LlamaChatResponse ,
187193 type LlamaChatResponseFunctionCall ,
188194 type LlamaChatLoadAndCompleteUserResponse ,
0 commit comments