Skip to content

get_file_contents: Add ability to select line(s) ranges #350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kaovilai opened this issue Apr 25, 2025 · 2 comments · May be fixed by #351
Open

get_file_contents: Add ability to select line(s) ranges #350

kaovilai opened this issue Apr 25, 2025 · 2 comments · May be fixed by #351
Labels
enhancement New feature or request

Comments

@kaovilai
Copy link

Describe the feature or problem you’d like to solve

get_file_contents - Get contents of a file or directory

owner: Repository owner (string, required)
repo: Repository name (string, required)
path: File path (string, required)
ref: Git reference (string, optional)
begin: begin line# (number, optional)
end: end line# (number, optional)

requested addition in bold

Proposed solution

See above

Additional context

This may help reduce model context consumed by parsing large files if we only want to request a subset..

@kaovilai kaovilai added the enhancement New feature or request label Apr 25, 2025
@aryasoni98
Copy link
Contributor

@kaovilai I came across this issue and would love to contribute could you please assign it to me?

@kaovilai
Copy link
Author

I'm not a maintainer here so I cannot assign anyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants