run-llama / create-llama

The easiest way to get started with LlamaIndex
MIT License
718 stars 86 forks source link

Missing tools.json file for setting up code interpreter #99

Closed tizkovatereza closed 2 months ago

tizkovatereza commented 3 months ago

I created and deployed new app, but it wasn't accessing the code execution tool until I manually added this code in a new tools.json file. It would be nice to mention this step in the README.md or have it created automatically.

Thank you!

Screenshot 2024-05-25 at 18 56 47
marcusschiesser commented 2 months ago

@tizkovatereza The tools.json is actually generated automatically, if you select a tool, but I guess we could generate an empty file even if the user doesn't select a tool

tizkovatereza commented 2 months ago

@marcusschiesser I am sure I had to add it the first time. Maybe I missed something during the installation, I followed the steps in the README, chose Next.js, Code Interpreter as a tool, and then the last option for generating the app (not sure how it was called exactly).

leehuwuj commented 2 months ago

@tizkovatereza Sorry, I couldn't reproduce your issue. The tools.json generates automatically, but I think you might've missed selecting the option. Just go to the tool option and press Space or the left-right arrow to select it (the green dot in the image). image