Cleanup remaining references to max mode (#33509)

Release Notes:

- N/A
This commit is contained in:
Ben Brandt 2025-06-27 10:32:13 +02:00 committed by GitHub
parent fbb5628ec6
commit 6c46e1129d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 16 additions and 16 deletions

View file

@ -2346,13 +2346,13 @@ impl AssistantContext {
completion_request.messages.push(request_message);
}
}
let supports_max_mode = if let Some(model) = model {
model.supports_max_mode()
let supports_burn_mode = if let Some(model) = model {
model.supports_burn_mode()
} else {
false
};
if supports_max_mode {
if supports_burn_mode {
completion_request.mode = Some(self.completion_mode.into());
}
completion_request