ch3njust1n / smart

Self-modifying code at runtime with Large Language Models
MIT License
4 stars 0 forks source link

refactor: mock api calls #51

Closed ch3njust1n closed 1 year ago

ch3njust1n commented 1 year ago

Replace all API calls with mocked responses from actual API calls. This reduces cost for API calls on every push and merge. Also now affordable to matrix test on merge. Also was unnecessary since only want to test the code and there's no practical way to test responses from LLM yet. Don't need to test every LLM model since mocking responses. This is also way faster - 17 seconds v. > 26 minutes when making API calls for every test and testing every model.