19 Commits

Author SHA1 Message Date
93e3f17a67 fix: 恢复providerid/upappid的alters配置,llm_list.dspy返回_text字段用于列表展示 2026-05-31 19:53:19 +08:00
9019f6c48e fix: 仅删除llm.json中providerid和upappid的alters,恢复其他文件 2026-05-31 19:41:24 +08:00
c345238eaa fix: 删除browserfields中的alters配置 2026-05-31 19:40:18 +08:00
57d77dc819 fix: status字段改用uitype:code+data格式,移除providerid/upappid的废弃属性textField/valueField 2026-05-31 15:48:09 +08:00
2f2841c16c fix: 为providerid和upappid的alter添加显式的textField和valueField 2026-05-31 15:46:39 +08:00
d84cc1d859 fix: API返回纯数组格式,添加模型上下架功能
- get_organizations/get_upapps/uapi_options: 返回纯数组[{value,text}]
- 新增 get_catelogs/get_apis/get_ppids: 独立下拉数据API
- llm_api_map_manage.ui: 使用独立API替代data_field嵌套格式
- json/llm.json: 移除data_field,添加上架/下架toolbar
- llm_status_update.dspy: 模型上下架状态更新API
- 重新生成 llm/index.ui CRUD界面
2026-05-30 01:43:09 +08:00
d6e4221a7b feat: add model publish/unpublish (上架/下架) functionality
- llm table: add status field (published/unpublished, default unpublished)
- User-facing queries: filter by status='published' in 11 query points:
  - utils.py: get_llms_by_catelog_to_customer, get_llms_by_catelog,
    get_llm, get_llmproviders, get_llms_sort_by_provider
  - v1 endpoints: chat/completions, image/generations, video/generations
  - user pages: t2t, get_type_llms, list_catelog_models,
    list_paging_catelog_llms, llmcheck
- CRUD: status column visible/editable with select dropdown
- Admin CRUD list shows ALL models regardless of status
- Migration SQL: sql/add_status_field.sql (existing models set to published)
2026-05-28 23:42:29 +08:00
9aa917bce5 feat: add data_filter and CRUD endpoints for llm table
- Add data_filter with 4 searchable fields (name LIKE, model LIKE, providerid, upappid)
- Add filter_labels for search form display
- Create llm_list.dspy with DBFilter support and LIKE wildcard handling
- Create llm_create.dspy, llm_update.dspy, llm_delete.dspy
- Create get_organizations.dspy and get_upapps.dspy for dropdown options
- Add browserfields alters for providerid and upappid dropdowns
- Add editable URLs for DataViewer CRUD operations
2026-05-26 14:26:38 +08:00
489ba1ad88 bugfix 2026-05-24 19:48:36 +08:00
21df5fdc80 bugfix 2026-05-21 16:50:55 +08:00
ca21d5cf25 bugfix 2026-05-21 15:53:53 +08:00
9f4a64b6af fix: llm.json subtable add url pointing to llm_api_map_manage.ui (avoid unregistered /llmage/llm_api_map path) 2026-05-21 15:12:27 +08:00
1060cac2de feat: llm_api_map CRUD management and ownerid-based data isolation
- Update json/llm.json subtable from llm_catelog_rel to llm_api_map
- Rewrite json/llm_api_map.json as standard CRUD format (tblname+params)
- Add models/llm_api_map.json table definition (summary/fields/indexes/codes)
- Add independent management UI (llm_api_map_manage.ui)
- Add CRUD DSPY APIs (list/create/delete/options) with ownerid filtering
- All operations verify l.ownerid for data isolation
- Add uapi_options.dspy for API selection dropdown
2026-05-20 17:29:27 +08:00
3ddf1a545d bugfix 2026-05-19 15:32:16 +08:00
baee3e08dc bugfix 2025-12-22 16:25:19 +08:00
66523723a4 bugfix 2025-12-22 16:21:41 +08:00
7851e80822 bugfix 2025-09-04 13:47:32 +08:00
668ab8f585 bugfix 2025-09-01 18:55:16 +08:00
ae0cf46c59 first commit 2025-07-16 14:19:09 +08:00