smol-ai / developer

the first library to let you embed a developer agent in your own app!
https://twitter.com/SmolModels
MIT License
11.76k stars 1.03k forks source link

feature/extract_file_paths #121

Open anuk909 opened 1 year ago

anuk909 commented 1 year ago

Add the function extract_file_paths that find paths based on simple regex instead of query. I think that it should be accurate as much as specify_file_paths and save one query. It's possible to add "allowed_extenstions" and "forbidden_extenstions" to improve it even more (And maybe in the future make this extenstions language dependant when smol-ai will be able to write code in more programming languages). It's still possible to use specify_file_paths so no code will break (I think)