feat(api_client): 增加详细的API请求和响应日志记录

增加对test_sql_with_schema接口的详细日志记录功能,
包括传入数据和返回数据的完整信息,便于调试和问题排查。

fix(utils): 修复sqlParams为空时的处理逻辑

修改process_skill_response函数中对空sqlParams的处理,
避免在sqlParams为None时导致JSON解析错误,并注释掉默认参数设置逻辑。

chore(config): 更新环境配置和项目版本

更新多个项目的数据库ID、数据源ID和后端基础URL配置,
并将lzwcai-mcp-sqlexecutor版本从0.1.8升级到0.10。

chore(logger): 改进日志目录创建逻辑

修改LoggerConfig类中的日志目录创建方法,使用mkdir(parents=True, exist_ok=True)
确保所有父目录都被创建。
This commit is contained in:
2026-01-26 09:50:09 +08:00
parent 59a7f13781
commit a47ab6df07
6 changed files with 46 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "lzwcai-mcp-sqlexecutor"
version = "0.1.8"
version = "0.1.10"
description = "MCP server for executing business SQL queries with dynamic tool generation"
readme = "README.md"
requires-python = ">=3.13"