sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.59k stars 275 forks source link

PLG: Claude 3.5 Sonnet model #4631

Closed abeatrix closed 3 months ago

abeatrix commented 3 months ago

DO NOT MERGE UNTIL https://github.com/sourcegraph/deploy-sourcegraph-cloud/pull/18624 IS DEPLOYED - DONE

CLOSE https://linear.app/sourcegraph/issue/CODY-2177/integrate-new-model

Add Claude 3.5 Sonnet model for Chat and Commands. Marking it as Recommended as Claude 3.5 Sonnet is better than Opus at all the metrics: https://sourcegraph.slack.com/archives/C05AGQYD528/p1718897456502589?thread_ts=1718896254.676939&cid=C05AGQYD528

Test plan

Verify the new model is showing up in the model Dropdown list for Chat and Edit: image image

Verified we are getting response from Cody Gateway using the new model id: image