sourcegraph / cody

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

Agent: handle missing chat model for unauthenticated users #4697

Closed abeatrix closed 4 days ago

abeatrix commented 4 days ago

When a user is not logged in, set the default chat model to the dotcom default model. This is because unauthed users are expected not to have a default model as the model list is only synced on login.

Test plan

No feature was changed so CI is expected to be green.