srcbookdev / srcbook

TypeScript-centric app development platform
https://srcbook.com
Apache License 2.0
2.58k stars 101 forks source link

Stream LLM response when editing apps #430

Closed benjreinhart closed 3 weeks ago

benjreinhart commented 3 weeks ago

Follow ups:

nichochar commented 3 weeks ago

LGTM. Given how this works, we should be able to populate the DiffBox temporarily with "updating ${filename}..."

Although we need to be careful to not make that clickable otherwise if users click on the file we'll interrupt the request

nichochar commented 3 weeks ago

I realized that we could also push the file streams another way:

benjreinhart commented 3 weeks ago

Yes for sure, we can improve this a lot beyond this first pass.