feat(schema-converter): 新增文件上传类型支持并优化schema转换逻辑
- 新增 file 和 fileList 类型用于单文件和多文件上传功能 - 添加文件配置信息处理,包括 accept、typeCategories、uploadMode 等参数 - 为文件类型添加 x-file-type、x-accept、x-type-categories 等扩展属性 - 优化默认值处理逻辑,排除文件类型设置默认值的情况 refactor(main): 重构工具配置处理优先级 - 将 schema 获取优先级调整为先从 sqlParams 转换,再使用 inputJsonSchema - 增强错误处理机制,当 sqlParams 转换失败时自动回退到 inputJsonSchema - 当两种方式都失败时提供空 schema 作为兜底方案 - 改进日志记录,增加调试信息和警告提示 chore: 更新项目版本号和测试配置 - 更新 pyproject.toml 中的版本号从 0.1.3 到 0.1.5 - 修改测试用的 workflowId 和 workflowExecuteKey 环境变量
This commit is contained in:
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "lzwcai-workflow-to-mcp"
|
||||
version = "0.1.3"
|
||||
version = "0.1.5"
|
||||
description = "MCP server for executing business SQL queries with dynamic tool generation"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
|
||||
Reference in New Issue
Block a user