mirror of https://github.com/buster-so/buster.git
flashing timer bug
This commit is contained in:
parent
7b9ca21062
commit
cee6191a4d
|
@ -2096,8 +2096,6 @@ fn transform_assistant_tool_message(
|
|||
|
||||
// If parser returns a reasoning message (File type expected)
|
||||
if let Ok(Some(BusterReasoningMessage::File(mut file_reasoning))) = parse_result {
|
||||
// Set the secondary title using elapsed_duration when creating the initial message
|
||||
file_reasoning.secondary_title = format!("{} seconds", last_reasoning_completion_time.elapsed().as_secs()); // Use Delta
|
||||
// Added missing variable initializations
|
||||
let mut has_updates = false;
|
||||
let mut updated_files_map = std::collections::HashMap::new();
|
||||
|
|
|
@ -15,7 +15,7 @@ pub struct ChatCompletionRequest {
|
|||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub logit_bias: Option<HashMap<String, i32>>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub log_probs: Option<bool>,
|
||||
pub logprobs: Option<bool>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub top_logprobs: Option<u32>,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
|
@ -71,7 +71,7 @@ impl Default for ChatCompletionRequest {
|
|||
reasoning_effort: None,
|
||||
frequency_penalty: None,
|
||||
logit_bias: None,
|
||||
log_probs: None,
|
||||
logprobs: None,
|
||||
top_logprobs: None,
|
||||
max_completion_tokens: None,
|
||||
n: None,
|
||||
|
|
Loading…
Reference in New Issue