neokd / NeoGPT

Chat effortlessly, execute commands, and interpret code with Llama3, Phi3, and more - your local AI assistant. Enjoy seamless interaction while ensuring ultimate privacy
https://neogpt.dev
MIT License
68 stars 62 forks source link

Writer Assistant Write to a file #205

Closed neokd closed 4 months ago

neokd commented 4 months ago

In the writer_assistant.py file, enhance the function by adding a parameter, code, which, when set to False, writes the content to a file. If set to True, it should write the content to a file with a .py extension.

ayushmorbar commented 4 months ago

Hey,

I've solved this issue since I find it's easy as part of JWoC and also meanwhile while I am working on the assigned issue.