Skip to content

Commit 498711c

Browse files
authored
fix: export missing types (#557)
1 parent 57e8c22 commit 498711c

3 files changed

Lines changed: 19 additions & 13 deletions

File tree

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
"filenamify": "^6.0.0",
198198
"fs-extra": "^11.3.0",
199199
"ignore": "^7.0.4",
200-
"ipull": "^3.9.2",
200+
"ipull": "^3.9.5",
201201
"is-unicode-supported": "^2.1.0",
202202
"lifecycle-utils": "^3.1.1",
203203
"log-symbols": "^7.0.1",

src/index.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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";
2627
import {TokenBias} from "./evaluator/TokenBias.js";
2728
import {
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";
3133
import {defineChatSessionFunction} from "./evaluator/LlamaChatSession/utils/defineChatSessionFunction.js";
3234
import {
@@ -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";
103106
import {
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

Comments
 (0)