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(ai): use correct DeepSeek API format to disable thinking
lexmin0412f590a727a088
diff --git a/crates/dbx-core/src/ai.rs b/crates/dbx-core/src/ai.rsindex bc3dc6ffdb..03ea1e6df8 100644--- a/crates/dbx-core/src/ai.rs+++ b/crates/dbx-core/src/ai.rs@@ -1976,6 +1976,11 @@ async fn stream_openai_with_tools(});set_chat_completion_token_limit(&mut body, &request.config, request.max_tokens.unwrap_or(4096));+ // DeepSeek API requires {"thinking": {"type": "disabled"}} to disable thinking+ if !request.config.enable_thinking && matches!(request.config.provider, AiProvider::Deepseek) {+ body["thinking"] = json!({ "type": "disabled" });+ }+let res = client.post(resolve_endpoint(&request.config)).headers(headers)