parent
fbb5628ec6
commit
6c46e1129d
11 changed files with 16 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue