Skip to content

Commit

Permalink
✨ feat: add RangeOptions interface with line range
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Oct 15, 2024
1 parent 47d7420 commit 8838175
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/core/src/types/prompt_template.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,17 @@ interface ContextExpansionOptions {
ephemeral?: boolean
}

interface RangeOptions {
/**
* The inclusive start of the line range, with a 1-based index
*/
lineStart?: number
/**
* The inclusive end of the line range, with a 1-based index
*/
lineEnd?: number
}

interface DefOptions extends FenceOptions, ContextExpansionOptions, DataFilter {
/**
* Filename filter based on file suffix. Case insensitive.
Expand Down

0 comments on commit 8838175

Please sign in to comment.