sourcegraph / cody

AI that knows your entire codebase
https://cody.dev
Apache License 2.0
2.25k stars 215 forks source link

bump time to first completion up to 3.5 seconds to allow for more syntactically complete code completions #4625

Closed beyang closed 2 weeks ago

beyang commented 2 weeks ago

It's a better user experience to wait a bit longer to generate a syntactically whole completion rather than a completion that does not complete the syntactic block. The issue with the latter is both the sense of "incompleteness" but also, we get "stuck" in a more deeply nested block.

Column 1 Column 2
image image

Test plan

Tested locally