agentscope-ai / agentscope-ai/QwenPaw-Data
[Bug]: Too mush token cost for [Demo PG - GAAP use case ]
- Ngôn ngữ chính
- Python
- Star
- 74
- Fork
- 11
- Merge trung bình
- 14 giờ 4 phút
- Pull request đã merge (30 ngày)
- 27
Mô tả
### Summary
5,014,326 token cost (about $2) in https://bailian.console.aliyun.com for task
```
datapaw run --datasource-id postgresql-demo-gaap "分析 2026 年 3 月 product X 有效用户的平均 GAAP 值,展示时间趋势,并结合相关 KG 事件解释异常峰值"
```
### Minimal reproduction
minimal demo as README
### Environment
minimal demo as README
### Sanitized logs
```shell
```
### Checklist
- [x] I searched existing issues and discussions.
- [x] I removed secrets, private URLs, and business data.
- [x] This is not a security vulnerability.
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the README's minimal demo and the `datapaw run` entry point for `postgresql-demo-gaap`. Trace how the sample query and knowledge-graph explanation consume tokens, then compare the reported usage with the Bailian console for the reproduction command. Done means the demo no longer incurs the reported excessive token cost and the result remains correct.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- postgresql, python
- Lĩnh vực
- ai, data, databases, performance
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100