feat(ai): streaming probe for connection test with latency measurement
This commit is contained in:
1 parent
fa4dbb9104
commit
484658c6b7
7 files changed
+213
-38
No files matched your search
@@ -5,7 +5,7 @@ use super::connection::AppState;
|
||||
pub use dbx_core::ai::*;
|
||||
|
||||
#[tauri::command]
|
||||
pub async fn ai_test_connection(config: AiConfig) -> Result<String, String> {
|
||||
pub async fn ai_test_connection(config: AiConfig) -> Result<AiTestConnectionResult, String> {
|
||||
dbx_core::ai::test_connection_core(&config).await
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user