Skip to content

Commit

Permalink
ensure non-deep-cody is used when deep-cody is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
beyang committed Jan 18, 2025
1 parent 2e656dc commit 771d235
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ const ModelSelectFieldToolbarItem: FunctionComponent<{
api.setChatModel(model.id).subscribe({
error: error => console.error('setChatModel:', error),
})
// KLUDGE(beyang)
api.setAgent('model').subscribe({
error: error => console.error('setAgent:', error),
})
} else {
api.setAgent(agent.id).subscribe({
error: error => console.error('setAgent:', error),
Expand Down

0 comments on commit 771d235

Please sign in to comment.