[Claude Workbench] Initial commit - preserving existing code

This commit is contained in:
Claude Workbench
2025-11-14 17:41:15 +08:00
commit 0f7bc05697
587 changed files with 103215 additions and 0 deletions

38
debug_points_config.sql Normal file
View File

@@ -0,0 +1,38 @@
-- 检查 points_config 表中的数据
-- 执行以下SQL来排查问题
-- 1. 查看所有数据
SELECT id, model_name, points_cost, description, is_enabled, provider_type, task_type
FROM points_config
WHERE is_deleted = 0
ORDER BY id;
-- 2. 查看 RunningHub 的模型
SELECT id, model_name, points_cost, description, is_enabled, provider_type, task_type
FROM points_config
WHERE provider_type = 'runninghub'
AND is_deleted = 0
ORDER BY id;
-- 3. 查看文生图类型的模型
SELECT id, model_name, points_cost, description, is_enabled, provider_type, task_type
FROM points_config
WHERE task_type = 'text_to_image'
AND is_deleted = 0
ORDER BY id;
-- 4. 查看 RunningHub + 文生图的组合
SELECT id, model_name, points_cost, description, is_enabled, provider_type, task_type
FROM points_config
WHERE provider_type = 'runninghub'
AND task_type = 'text_to_image'
AND is_deleted = 0
ORDER BY id;
-- 5. 查看已启用的 RunningHub 模型
SELECT id, model_name, points_cost, description, is_enabled, provider_type, task_type
FROM points_config
WHERE provider_type = 'runninghub'
AND is_enabled = 1
AND is_deleted = 0
ORDER BY id;