WeKnora/internal/handler
wizardchen cbe66aba56 feat(api): integrate per-organization resource counts into organization listing
- Added `resource_counts` to the `ListOrganizationsResponse` to include per-organization knowledge base and agent counts, enhancing the sidebar display.
- Removed the deprecated `getMeResourceCounts` API endpoint, consolidating resource count retrieval into the organization listing.
- Updated the organization store to manage and utilize the new resource counts effectively.
- Adjusted UI components to leverage the new resource counts structure, improving data retrieval and display for agents and knowledge bases.

This update streamlines resource count management and enhances the user experience by providing relevant data in a single API call.
2026-02-09 11:40:25 +08:00
..
session refactor(session): streamline tenant context handling for async operations 2026-02-09 11:40:25 +08:00
auth.go feat: 新增环境变量DISABLE_REGISTRATION控制用户注册开关 2025-12-22 15:01:09 +08:00
chunk.go feat(api): enhance organization shared knowledge base and agent functionalities 2026-02-09 11:40:25 +08:00
custom_agent.go feat(agent): enhance agent and skill management features 2026-02-09 11:40:25 +08:00
evaluation.go feat: 新增API Key认证支持,优化Swagger文档安全配置 2025-12-22 15:01:09 +08:00
faq.go feat(api): enhance organization shared knowledge base and agent functionalities 2026-02-09 11:40:25 +08:00
initialization.go fix: concurrent map writes due to dig.Container is not thread safe 2026-01-15 20:07:11 +08:00
knowledge.go feat(api): enhance organization shared knowledge base and agent functionalities 2026-02-09 11:40:25 +08:00
knowledgebase.go feat(api): enhance organization shared knowledge base and agent functionalities 2026-02-09 11:40:25 +08:00
mcp_service.go feat: 新增API Key认证支持,优化Swagger文档安全配置 2025-12-22 15:01:09 +08:00
message.go feat: 新增API Key认证支持,优化Swagger文档安全配置 2025-12-22 15:01:09 +08:00
model.go feat: 新增对多家平台的模型适配 2025-12-29 12:18:42 +08:00
organization.go feat(api): integrate per-organization resource counts into organization listing 2026-02-09 11:40:25 +08:00
skill_handler.go feat: update sandbox service configuration in Docker Compose files 2026-02-04 21:34:07 +08:00
system.go refactor: Refactor retriever engine checks and expose mapping 2026-01-14 17:08:26 +08:00
tag.go feat(api): enhance organization shared knowledge base and agent functionalities 2026-02-09 11:40:25 +08:00
tenant.go feat: 统一系统提示词并优化智能体选择器界面 2025-12-28 21:46:42 +08:00
web_search.go refactor: web search provider registry pattern 2026-01-20 18:19:44 +08:00