listpage-next-ai 0.0.261 → 0.0.263

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -122,18 +122,18 @@ function createDatabaseTools(options) {
122
122
  }),
123
123
  onGenerateChart && (0, external_langchain_namespaceObject.tool)(async ({ sql, chartConfig, title })=>{
124
124
  try {
125
- await onGenerateChart({
125
+ const id = await onGenerateChart({
126
126
  sql,
127
127
  title,
128
128
  chartConfig
129
129
  });
130
- return `已生成图表`;
130
+ return id;
131
131
  } catch (error) {
132
132
  return `工具目前不可用:${error.message}`;
133
133
  }
134
134
  }, {
135
135
  name: 'generate_chart',
136
- description: '在需要可视化展示数据或者生成图表时调用该工具,用于生成图表,仅需调用前端自动展示,无需额外处理。',
136
+ description: '在需要可视化展示数据或者生成图表时调用该工具,用于生成图表,仅需调用,前端自动展示,无需额外处理。',
137
137
  schema: {
138
138
  type: 'object',
139
139
  properties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "listpage-next-ai",
3
- "version": "0.0.261",
3
+ "version": "0.0.263",
4
4
  "description": "A React component library for creating filter forms with Ant Design",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",