Copilot
524c56a12b
feat(web): add hover card to embedding model selector in knowledge base form ( #1772 )
...
* Initial plan
* feat: Add hover card with model details to embedding model selector in KB form
- Updated KBForm.tsx to fetch full EmbeddingModel objects instead of simplified entities
- Added HoverCard component to show model details (icon, description, base URL, extra args) when hovering over embedding model options
- Removed unused IEmbeddingModelEntity import and embeddingModelNameList state
- Made the embedding model selector consistent with LLM model selector behavior
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
2025-11-11 17:52:30 +08:00
Copilot
1f877e2b8e
Optimize model provider selection with category grouping ( #1770 )
...
* Initial plan
* Add provider category field to requesters and implement grouped dropdown
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Fix TypeScript type and prettier formatting issues
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Rename provider categories: aggregator→maas, self_deployed→self-hosted
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Move provider_category from metadata to spec section
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* perf: adjust category
* perf: adjust data structure
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-11 12:49:43 +08:00
Copilot
42421d171e
feat: Add webhook push functionality for bot message events ( #1768 )
...
* Initial plan
* Backend: Add webhook persistence model, service, API endpoints and message push functionality
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Frontend: Rename API Keys to API Integration, add webhook management UI with tabs
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Fix frontend linting issues and formatting
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* chore: perf ui in api integration dialog
* perf: webhook data pack structure
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-10 22:41:25 +08:00
Junyan Qin
b59bf62da5
perf: add rounded style for card icons
2025-11-10 11:07:37 +08:00
Junyan Qin
70147fcf5e
perf: i18n for pipeline extensions
2025-11-09 12:40:19 +08:00
Copilot
8d7976190d
Add pipeline copy button to duplicate existing configurations ( #1767 )
...
* Initial plan
* Add copy button to pipeline configuration page
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Add i18n support for copy suffix and address code review feedback
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Show new pipeline name in copy toast and close dialog after copy
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* perf: tool list style in extension tab
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-08 14:03:41 +08:00
Copilot
3edae3e678
feat: Support multiple knowledge base binding in pipelines ( #1766 )
...
* Initial plan
* Add multi-knowledge base support to pipelines
- Created database migration dbm010 to convert knowledge-base field from string to array
- Updated default pipeline config to use knowledge-bases array
- Updated pipeline metadata to use knowledge-base-multi-selector type
- Modified localagent.py to retrieve from multiple knowledge bases and concatenate results
- Added KNOWLEDGE_BASE_MULTI_SELECTOR type to frontend form entities
- Implemented multi-selector UI component with dialog for selecting multiple knowledge bases
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Add i18n translations for multi-knowledge base selector
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Fix prettier formatting errors in DynamicFormItemComponent
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Add accessibility attributes to knowledge base selector checkbox
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* fix: minor fix
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-08 13:45:09 +08:00
Junyan Qin
021c3bbb94
perf: show help link in api key mgm dialog
2025-11-07 18:48:49 +08:00
Copilot
a076ce5756
feat: Add API key authentication system for external service access ( #1757 )
...
* Initial plan
* feat: Add API key authentication system backend
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* feat: Add API key management UI in frontend sidebar
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* fix: Correct import paths in API controller groups
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* fix: Address code review feedback - add i18n and validation
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* refactor: Enable API key auth on existing endpoints instead of creating separate service API
- Added USER_TOKEN_OR_API_KEY auth type that accepts both authentication methods
- Removed separate /api/service/v1/models endpoints
- Updated existing endpoints (models, bots, pipelines) to accept API keys
- External services can now use API keys to access all existing LangBot APIs
- Updated documentation to reflect unified API approach
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* docs: Add OpenAPI specification for API key authenticated endpoints
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* chore: rename openapi spec
* perf: ui and i18n
* fix: ui bug
* chore: tidy docs
* chore: fix linter errors
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-07 14:08:11 +08:00
Copilot
9a997fbcb0
feat: Make API Key optional for custom model providers ( #1756 )
...
* Initial plan
* Make API Key optional for custom model providers
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Fix TypeScript type errors in test functions
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* perf: ui
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-06 20:59:34 +08:00
Copilot
cb48221ed3
feat: add MCP server selection to pipeline extensions ( #1754 )
...
* Initial plan
* Backend: Add MCP server selection support to pipeline extensions
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Frontend: Add MCP server selection UI to pipeline extensions
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* perf: ui
* perf: ui
* perf: desc for extension page
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-06 19:38:12 +08:00
Copilot
68eb0290e0
Fix: Enforce 10MB upload limit for knowledge base with clear error handling ( #1755 )
...
* Initial plan
* Set MAX_CONTENT_LENGTH to 10MB and add file size validation
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Add custom error handler for 413 RequestEntityTooLarge
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Refactor: Extract MAX_FILE_SIZE constant to avoid duplication
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Fix file name extraction and add missing file validation
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Apply file size validation to all upload endpoints consistently
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Add frontend file size validation for knowledge base and plugin uploads
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Remove file size validation from plugin uploads, keep only for knowledge base
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* perf: ui
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-06 18:50:29 +08:00
Junyan Qin
61bc6a1dc2
feat: add supports for bot-selector config field
2025-11-06 15:36:43 +08:00
Junyan Qin (Chin)
4a84bf2355
Feat/pipeline specified plugins ( #1752 )
...
* feat: add persistence field
* feat: add basic extension page in pipeline config
* Merge pull request #1751 from langbot-app/copilot/add-plugin-extension-tab
Implement pipeline-scoped plugin binding system
* fix: i18n keys
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2025-11-06 12:51:33 +08:00
Junyan Qin
411d082d2a
chore: fix linter errors
2025-11-06 00:07:43 +08:00
Junyan Qin
b529d07479
feat: plugin config file auto clean
2025-11-06 00:02:25 +08:00
Junyan Qin
d44df75e5c
chore: add hant and jp i18n
2025-11-05 23:54:34 +08:00
Junyan Qin
b74e07b608
feat: add and type plugin config fields
2025-11-05 23:48:59 +08:00
Junyan Qin
4a868afecd
fix: plugin mgm page mistakely refreshed when open acc option menu
2025-11-05 18:59:40 +08:00
Junyan Qin
1cb9560663
perf: only check connecting mcp server when it's enabled
2025-11-05 18:53:17 +08:00
Junyan Qin
8f878673ae
feat: add supports for showing image in plugin readme
2025-11-05 18:42:14 +08:00
Junyan Qin
74a5e37892
perf: plugin market layout
2025-11-05 18:34:40 +08:00
Alfons
f06e3d3efa
fix: disabling potential thinking param for model testing ( #1733 )
...
* fix: 禁用模型默认思考功能以减少测试延迟
- 调整导入语句顺序
- 为没有显式设置 thinking 参数的模型添加禁用配置
- 避免某些模型厂商默认开启思考功能导致的测试延迟
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
* fix: 确保 extra_args 为空时也禁用思考功能
修复条件判断逻辑,当 extra_args 为空字典时也会添加思考功能禁用配置
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
* perf(fe): increase default timeout
* perf: llm model testing prompt
---------
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-05 15:52:17 +08:00
Guanchao Wang
1adaa93034
Fix/mcp ( #1746 )
...
* fix: mcp session cannot be enabled
* fix: error message
* perf: ui
* perf: ui
---------
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
2025-11-04 22:02:40 +08:00
Copilot
7699ba3cae
feat: add supports for install plugin from GitHub repo releases
...
Add GitHub release installation for plugins
2025-11-04 21:09:14 +08:00
Junyan Qin (Chin)
3d12632c9f
perf: config reset logic ( #1742 )
...
* fix: inherit settings from existing settings
* feat: add optional data cleanup checkbox to plugin uninstall dialog (#1743 )
* Initial plan
* Add checkbox for plugin config/storage deletion
- Add delete_data parameter to backend API endpoint
- Update delete_plugin flow to clean up settings and binary storage
- Add checkbox in uninstall dialog using shadcn/ui
- Add translations for checkbox label in all languages
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* perf: param list
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
* chore: fix linter errors
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2025-11-04 18:47:38 +08:00
Junyan Qin
bcf89ca434
perf: store pipeline sort method
2025-11-04 18:47:37 +08:00
Junyan Qin
5e2f677d0b
perf: add component list in plugin detail dialog
2025-11-04 18:47:37 +08:00
Junyan Qin
c0f04e4f20
chore: update
2025-11-04 18:35:21 +08:00
Junyan Qin
d3279b9823
perf: update sidebar title
2025-11-04 18:33:13 +08:00
Junyan Qin
2ad1f97e12
perf: no mcp server tips
2025-11-04 18:27:37 +08:00
Junyan Qin
1046f3c2aa
perf: mcp server testing and refreshing
2025-11-04 18:14:59 +08:00
Junyan Qin
1afecf01e4
perf: mcp server status checking logic
2025-11-04 17:32:05 +08:00
Junyan Qin
3ee7736361
perf: ui
2025-11-04 17:09:28 +08:00
Junyan Qin
0666778fea
feat: perf mcp server api datastruct
2025-11-04 16:45:55 +08:00
Junyan Qin
8df90558ab
perf: tidy dir
2025-11-04 16:29:16 +08:00
Junyan Qin
c1c03f11b4
refactor: mcp server datastructure
2025-11-04 16:13:03 +08:00
Junyan Qin
bc1fbfa190
feat: completely remove the fucking mcp market components and refs
2025-11-03 20:23:53 +08:00
wangcham
76831579ad
fix: error message in mcp card
2025-11-02 13:57:37 +00:00
wangcham
e17b0cf5c5
fix: i18n and mcp test
2025-10-30 15:17:06 +00:00
wangcham
f2647316a5
fix: mcp test error
2025-10-30 15:01:25 +00:00
wangcham
a055e37d3a
feat: add i18n
2025-10-29 14:00:45 +00:00
WangCham
d32f783392
fix: run lint
2025-10-28 16:14:31 +08:00
WangCham
4d3610cdf7
feat: add i18n
2025-10-28 14:14:46 +08:00
WangCham
166eebabff
fix: delete mcp market
2025-10-28 13:11:09 +08:00
Junyan Qin
9f2f1cd577
perf: remove title from mcp mgm page
2025-10-26 23:39:34 +09:00
wangcham
8345edd9f7
fix: status icon
2025-10-25 01:58:52 +00:00
wangcham
e3821b3f09
feat: add mcp servers
2025-10-24 17:48:44 +00:00
WangCham
72ca62eae4
fix: delete description
2025-10-24 20:37:48 +08:00
wangcham
075091ed06
fix: mcp refactor
2025-10-23 15:47:44 +00:00