Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete: set the default anthropic model only for certain cases #4982

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

valerybugakov
Copy link
Member

@valerybugakov valerybugakov commented Jul 23, 2024

Test plan

For PLG:

  1. Connect to DotCom using Cody VS Code
  2. Set autocomplete provider to Anthropic "cody.autocomplete.advanced.provider": "anthropic"
  3. Generate a completion.

For enterprises:

  1. Connect to https://sg02.sourcegraphcloud.com/
  2. Generate a completion.

@valerybugakov valerybugakov merged commit 8b92f4d into main Jul 23, 2024
25 checks passed
@valerybugakov valerybugakov deleted the vb/default-anthropic-model branch July 23, 2024 11:31
valerybugakov added a commit that referenced this pull request Jul 23, 2024
…4982)

- Fixes the issue when enterprise instances use the non-deployed
Anthropic model as a default value. Now we set the default Anthropic
model only for DotCom users and only in cases where the autocomplete
provider is set to Anthropic in local settings. It keeps [the original
issue](#4639) fixed and also
addresses the enterprise problem.
- Slack investigation
[here](https://sourcegraph.slack.com/archives/C07CVL78MDF/p1721694416152009).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants