diff --git a/clients/tabby-chat-panel/src/index.ts b/clients/tabby-chat-panel/src/index.ts index 27a02e8e44c7..4cb7a4c89ac9 100644 --- a/clients/tabby-chat-panel/src/index.ts +++ b/clients/tabby-chat-panel/src/index.ts @@ -53,6 +53,9 @@ export type Location = number | LineRange | Position | PositionRange export interface FileContext { kind: 'file' + /** + * If the range is undefined, it implies that the context is the entire file. + */ range?: LineRange filepath: string content: string