-
Notifications
You must be signed in to change notification settings - Fork 8
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
Default to anthropic/claude-3.5-sonnet in code mode #2081
base: main
Are you sure you want to change the base?
Default to anthropic/claude-3.5-sonnet in code mode #2081
Conversation
Host Test Results 1 files ±0 1 suites ±0 23m 29s ⏱️ +49s Results for commit 9f91597. ± Comparison against base commit e702fc0. This pull request removes 1 and adds 6 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
…ages-and-the' into cs-7859-default-code-modes-ai-assistant-to-sonnet-model
@@ -239,6 +241,24 @@ export default class Room extends Component<Signature> { | |||
registerDestructor(this, () => { | |||
this.scrollState().messageVisibilityObserver.disconnect(); | |||
}); | |||
|
|||
this.setRoomLLM(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like it running in the constructor of the room component. It seems like a surprising place to me that might miss certain cases. For example, creating a new room, or switching rooms?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My reasoning behind doing it this way is because I thought this made sense only for newly created rooms. But now I see it would be better to support switching rooms too, and move the logic out of the constructor. This is now fixed in later commits
No description provided.