Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

chore: remove duplicate imports and BOM from PR #1122

t8y2a7ba5b42ef3b
diff --git a/crates/dbx-web/src/routes/ai.rs b/crates/dbx-web/src/routes/ai.rs
index 58655593a5..085b9ca254 100644
--- a/crates/dbx-web/src/routes/ai.rs
+++ b/crates/dbx-web/src/routes/ai.rs
@@ -7,12 +7,9 @@ use futures::stream::Stream;
use serde::Deserialize;
use dbx_core::agent_events::AgentEvent;
-use dbx_core::agent_events::AgentEvent;
-use dbx_core::agent_loop::{run_agent_loop, AgentLoopContext};
use dbx_core::agent_loop::{run_agent_loop, AgentLoopContext};
use dbx_core::ai::{AiCompletionRequest, AiConfig, AiConversation, AiModelInfo, AiStreamChunk, AiTestConnectionResult};
use dbx_core::models::connection::DatabaseType;
-use dbx_core::models::connection::DatabaseType;
use crate::error::AppError;
use crate::state::WebState;
diff --git a/src-tauri/src/commands/ai.rs b/src-tauri/src/commands/ai.rs
index cf92263322..33dc03e4d1 100644
--- a/src-tauri/src/commands/ai.rs
+++ b/src-tauri/src/commands/ai.rs
@@ -1,4 +1,4 @@
-use std::sync::Arc;
+use std::sync::Arc;
use tauri::{AppHandle, Emitter, State};
use super::connection::AppState;