- Introduced adaptive timeout logic for web searches and chat streaming, improving responsiveness and efficiency. - Updated `smartSearchRag` method to support timeout adjustments based on search rounds. - Enhanced `executeProgressiveSearch` to utilize adaptive timeouts and improve search result handling. - Added new utility functions for calculating adaptive timeouts based on rounds and attempts. - Integrated event listeners for chat session management, improving user experience during chat interactions. - Refactored chat message handling to accommodate new streaming and timeout features.
50 lines
1.2 KiB
TOML
50 lines
1.2 KiB
TOML
[package]
|
|
name = "app"
|
|
version = "0.1.0"
|
|
description = "A Tauri App"
|
|
authors = ["you"]
|
|
license = ""
|
|
repository = ""
|
|
edition = "2021"
|
|
rust-version = "1.77.2"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
name = "app_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.5.1", features = [] }
|
|
|
|
[dependencies]
|
|
serde_json = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
log = "0.4"
|
|
tauri = { version = "2.9.2", features = [] }
|
|
tauri-plugin-log = "2"
|
|
tauri-plugin-shell = "2"
|
|
tauri-plugin-notification = "2"
|
|
reqwest = { version = "0.12", features = ["json", "stream"] }
|
|
sysinfo = "0.36.1"
|
|
uuid = { version = "1.10", features = ["v4", "serde"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
headless_chrome = "1.0"
|
|
scraper = "0.18"
|
|
readability = "0.3"
|
|
html2text = "0.5"
|
|
anyhow = "1.0"
|
|
url = "2.5"
|
|
urlencoding = "2.1"
|
|
zip = "0.6"
|
|
rand = "0.8"
|
|
tokio-cron-scheduler = "0.9"
|
|
futures-util = "0.3"
|
|
regex = "1.10"
|
|
walkdir = "2.5"
|
|
tauri-plugin-autostart = "2"
|
|
dirs = "5.0"
|
|
rfd = "0.14"
|
|
rusqlite = { version = "0.31", features = ["bundled"] }
|