sourcegraph / sourcegraph-public-snapshot

Code AI platform with Code Search & Cody
https://sourcegraph.com
Other
10.12k stars 1.29k forks source link

OpenAI autocompletions are not working as expected #60538

Open arafatkatze opened 9 months ago

arafatkatze commented 9 months ago

Steps to reproduce:

1.Go to settings to change the autocomple provider to OpenAI and put your openai key

image

Expected behavior:

Autocomplete works

Actual behavior:

image

If you would like immediate help on this, please email support@sourcegraph.com (you can still create the issue, but there are no SLAs on issues like there are for support requests).

arafatkatze commented 9 months ago

NOTE: BYOK is only available for enterprises and it bypasses the Cody Gateway, the Cody Gateway does not support autocomplete with OpenAI

Whether to change this or not is a product question.

CC @jdorfman

jdorfman commented 8 months ago

@kalanchan

NOTE: BYOK is only available for enterprises and it bypasses the Cody Gateway, the Cody Gateway does not support autocomplete with OpenAI

We should note that in VS Code.

@MaedahBatool we should also note that in the docs if it isn't already.

Thanks @arafatkatze