Closed abeatrix closed 1 day ago
Thanks, Bee!
I've confirmed that it works locally, which is awesome! However, I encountered the same issues we faced with Claude Instant, which also lacked native infill capabilities. Most of the completions I received don't respect the existing code context. We should dedicate more time to prompt engineering to make it stable.
Based on our past experience, we know this is a challenging problem that we didn't fully resolve with Claude. I suggest we bring this up in Slack and tag leadership and the AI team for their input on whether we should invest more resources into solving this.
![]()
![]()
![]()
Oof I'll play around with the prompt some more tomorrow and we can do a follow up during our 1:1 tmr. Thanks for the through review @valerybugakov !
@valerybugakov The updated prompt seems to work 🙏
‼️ Hey @sourcegraph/cody-security, please review this PR carefully as it introduces the usage of an unsafe_
function or abuses PromptString.
CLOSE https://linear.app/sourcegraph/issue/CODY-2514/implement-autocompletion-provider-for-gemini-models-in-client
This PR is adding Google as the new autocomplete provider using Gemini 1.5 Flash model as experimental/unstable.
This change should be safe as it is hidden behind the
"unstable-gemini"
setting.Test plan
"cody.autocomplete.advanced.provider": "unstable-google"
Examples