diff --git a/core/index.d.ts b/core/index.d.ts index ad778d3d8..ba3712d05 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -94,6 +94,8 @@ export interface ILLM get providerName(): string; get underlyingProviderName(): string; + autocompleteOptions?: Partial; + complete( prompt: string, signal: AbortSignal, @@ -563,6 +565,7 @@ export interface LLMOptions { uniqueId?: string; baseAgentSystemMessage?: string; baseChatSystemMessage?: string; + autocompleteOptions?: Partial; contextLength?: number; maxStopWords?: number; completionOptions?: CompletionOptions; @@ -1090,6 +1093,7 @@ export interface RerankerDescription { params?: { [key: string]: any }; } +// TODO: We should consider renaming this to AutocompleteOptions. export interface TabAutocompleteOptions { disable: boolean; maxPromptTokens: number;