owencooke / what-to-code

An LLM-powered web app to help developers brainstorm and kickstart new software projects!
https://what-to-code.dev
4 stars 0 forks source link

Better local dev/testing environment #36

Open owencooke opened 3 weeks ago

owencooke commented 3 weeks ago

During development, it would be better to avoid making too many LLM calls when testing features and avoid adding data to the prod DB. These are just a few potential concerns, others would be test emails, etc

owencooke commented 3 weeks ago

Note: i've started this for LLMs by adding MOCK_LLM env varable. but i'm currently using it to shortcut out of server methods, could be better to mock the actual LLM calls themselves at a lower level, to test more logic behaviour in route methods