BuilderIO / micro-agent

An AI agent that writes (actually useful) code for you
https://www.builder.io/blog/micro-agent
MIT License
2.61k stars 206 forks source link

Add tests for getCompletion #17

Closed tpaulshippy closed 2 months ago

tpaulshippy commented 3 months ago

Purpose

Continuing on #2

Approach

Add test for the non-assistant path in getCompletion. Leave assistant path untested per comment here.

tpaulshippy commented 3 months ago

Hmm. Pretty sure that test passed for me locally. Maybe it's a weird line ending thing.

tpaulshippy commented 3 months ago

Not sure why on the mac the test passed but on linux it did not. Was able to reproduce locally using act.

Quick tip - if you want your act run on this project to speed up, remove line 50 of the package.json temporarily.

steve8708 commented 2 months ago

🙌