flashing timer bug

This commit is contained in:
dal 2025-04-16 13:57:42 -06:00
parent 7b9ca21062
commit cee6191a4d
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
2 changed files with 2 additions and 4 deletions

View File

@ -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();

View File

@ -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,