diff --git a/api/libs/handlers/src/chats/post_chat_handler.rs b/api/libs/handlers/src/chats/post_chat_handler.rs index 9107ffd63..e96259301 100644 --- a/api/libs/handlers/src/chats/post_chat_handler.rs +++ b/api/libs/handlers/src/chats/post_chat_handler.rs @@ -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(); diff --git a/api/libs/litellm/src/types.rs b/api/libs/litellm/src/types.rs index 2580cabf9..50252a281 100644 --- a/api/libs/litellm/src/types.rs +++ b/api/libs/litellm/src/types.rs @@ -15,7 +15,7 @@ pub struct ChatCompletionRequest { #[serde(skip_serializing_if = "Option::is_none")] pub logit_bias: Option>, #[serde(skip_serializing_if = "Option::is_none")] - pub log_probs: Option, + pub logprobs: Option, #[serde(skip_serializing_if = "Option::is_none")] pub top_logprobs: Option, #[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,