mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 00:44:18 +01:00
@@ -8,7 +8,7 @@ use std::time::{Duration, Instant};
|
||||
use url::Url;
|
||||
|
||||
use ewebsock::{WsEvent, WsMessage};
|
||||
use tracing::{debug, trace, error};
|
||||
use tracing::{debug, error, trace};
|
||||
|
||||
use super::subs_debug::SubsDebug;
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ pub fn summary_cards_ui(ui: &mut egui::Ui, s: &Summary, prev: Option<&Summary>)
|
||||
}
|
||||
|
||||
// If the last row wasn't full, close it anyway
|
||||
if items_len % cols != 0 {
|
||||
if !items_len.is_multiple_of(cols) {
|
||||
ui.end_row();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -145,11 +145,6 @@ pub enum ToolCalls {
|
||||
Invalid(InvalidToolCall),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
struct ErrorCall {
|
||||
error: String,
|
||||
}
|
||||
|
||||
impl ToolCalls {
|
||||
pub fn to_api(&self) -> FunctionCall {
|
||||
FunctionCall {
|
||||
|
||||
Reference in New Issue
Block a user