mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Fix read_file ranges for gemini
This commit is contained in:
parent
74d1ed7276
commit
c05f2eaa5d
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ export function createReadFileTool(partialReadsEnabled: boolean = true): OpenAI.
|
|||
// Only include line_ranges if partial reads are enabled
|
||||
if (partialReadsEnabled) {
|
||||
fileProperties.line_ranges = {
|
||||
type: ["array", "null"],
|
||||
type: "array",
|
||||
description:
|
||||
"Optional line ranges to read. Each range is a [start, end] tuple with 1-based inclusive line numbers. Use multiple ranges for non-contiguous sections.",
|
||||
items: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue