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。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(tests): reorder imports for better readability in AI module tests
t8y295b03998d1ee
diff --git a/crates/dbx-core/src/ai.rs b/crates/dbx-core/src/ai.rsindex cd43c00a2b..bb1a37a06e 100644--- a/crates/dbx-core/src/ai.rs+++ b/crates/dbx-core/src/ai.rs@@ -1996,10 +1996,10 @@ pub fn load_config(path: &Path) -> Result<Option<AiConfig>, String> {#[cfg(test)]mod tests {use super::{- build_ai_http_client, claude_headers, claude_system_prompt, gemini_text, openai_response_text, openai_stream_text,- parse_model_list_response, resolve_endpoint, resolve_model_list_endpoint, responses_max_output_tokens,- responses_text, supports_temperature, validate_config, AiApiStyle, AiAuthMethod, AiConfig, AiModelInfo,- AiProvider, AUTHORIZATION, CLAUDE_DEFAULT_SYSTEM,+ build_ai_http_client, claude_headers, claude_system_prompt, gemini_text, openai_response_text,+ openai_stream_text, parse_model_list_response, resolve_endpoint, resolve_model_list_endpoint,+ responses_max_output_tokens, responses_text, supports_temperature, validate_config, AiApiStyle, AiAuthMethod,+ AiConfig, AiModelInfo, AiProvider, AUTHORIZATION, CLAUDE_DEFAULT_SYSTEM,};#[test]