copilot-swe-agent[bot]
cab573f3e2
Add package structure and resource path utilities
...
- Created langbot/ package with __init__.py and __main__.py entry point
- Added paths utility to find frontend and resource files from package installation
- Updated config loading to use resource paths
- Updated frontend serving to use resource paths
- Added MANIFEST.in for package data inclusion
- Updated pyproject.toml with build system and entry points
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
2025-11-07 13:58:18 +00:00
Junyan Qin
12de0343b4
chore: remove legacy plugin files
2025-11-07 18:21:09 +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
76a69ecc7e
Add environment variable override support for config.yaml ( #1748 )
...
* Initial plan
* Add environment variable override support for config.yaml
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Refactor env override code based on review feedback
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Add test for template completion with env overrides
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Move env override logic to load_config.py as requested
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* perf: add print log
---------
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-05 18:15:15 +08:00
Junyan Qin
f3199dda20
perf: make startup async
2025-11-03 20:16:45 +08:00
wangcham
c2d752f9e9
fix: try & catch & error
2025-11-02 12:37:00 +00:00
Junyan Qin
4c0917556f
refactor(mcp): bridge controller and db operation with service layer
2025-11-02 13:05:55 +08:00
wangcham
e3821b3f09
feat: add mcp servers
2025-10-24 17:48:44 +00:00
Junyan Qin
6a7e88ffd6
perf: minor fixes
2025-09-13 17:59:10 +08:00
Junyan Qin
64764c412b
Merge branch 'rc/new-plugin' into refactor/new-plugin-system
2025-08-24 21:40:02 +08:00
Junyan Qin (Chin)
e66f674968
Merge branch 'master' into feat/streaming
2025-08-17 14:30:22 +08:00
WangCham
eab08dfbf3
fix: format the code
2025-08-12 23:13:00 +08:00
Junyan Qin
47ff883fc7
perf: ruff format & remove stream params in requester
2025-08-04 19:26:18 +08:00
fdc
b65670cd1a
feat: 实现流式消息处理支持
2025-08-04 19:26:14 +08:00
Junyan Qin
41650b585a
perf: dispose process
2025-08-02 23:54:06 +08:00
Junyan Qin (Chin)
bb672d8f46
Merge branch 'master' into feat/rag
2025-07-18 00:45:24 +08:00
Junyan Qin
f5b893cfe0
feat: kill runtime process when exit in stdio mode
2025-07-16 22:43:39 +08:00
Junyan Qin
2f2db4d445
feat(rag): make embedding and retrieving available
2025-07-16 21:17:18 +08:00
Junyan Qin
f731115805
chore: stash
2025-07-16 11:31:55 +08:00
Junyan Qin
67bc065ccd
chore: stash
2025-07-15 22:09:10 +08:00
Junyan Qin
75c3ddde19
perf: definitions
2025-07-10 16:45:59 +08:00
Junyan Qin
c6e77e42be
chore: switch some comments to en
2025-07-10 11:09:33 +08:00
Junyan Qin
4d0a39eb65
chore: switch comments to en
2025-07-10 11:01:16 +08:00
Junyan Qin
c5b62b6ba3
Merge remote-tracking branch 'wangcham/feat/rag' into feat/rag
2025-07-05 20:16:37 +08:00
devin-ai-integration[bot]
d2b93b3296
feat: add embeddings model management ( #1461 )
...
* feat: add embeddings model management backend support
Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com >
* feat: add embeddings model management frontend support
Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com >
* chore: revert HttpClient URL to production setting
Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com >
* refactor: integrate embeddings models into models page with tabs
Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com >
* perf: move files
* perf: remove `s`
* feat: allow requester to declare supported types in manifest
* feat(embedding): delete dimension and encoding format
* feat: add extra_args for embedding moels
* perf: i18n ref
* fix: linter err
* fix: lint err
* fix: linter err
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Junyan Qin <Chin> <rockchinq@gmail.com >
2025-07-05 20:07:15 +08:00
WangCham
34fe8b324d
feat: add functions
2025-07-05 18:58:16 +08:00
WangCham
4bcc06c955
kb
2025-07-05 18:58:16 +08:00
devin-ai-integration[bot]
c81d5a1a49
feat: add embeddings model management ( #1461 )
...
* feat: add embeddings model management backend support
Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com >
* feat: add embeddings model management frontend support
Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com >
* chore: revert HttpClient URL to production setting
Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com >
* refactor: integrate embeddings models into models page with tabs
Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com >
* perf: move files
* perf: remove `s`
* feat: allow requester to declare supported types in manifest
* feat(embedding): delete dimension and encoding format
* feat: add extra_args for embedding moels
* perf: i18n ref
* fix: linter err
* fix: lint err
* fix: linter err
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Junyan Qin <Chin> <rockchinq@gmail.com >
2025-07-05 18:57:23 +08:00
Junyan Qin (Chin)
a01706d163
Feat/reset password ( #1566 )
...
* feat: reset password with recovery key
* perf: formatting and multi language
2025-07-05 17:36:35 +08:00
Junyan Qin
a60aa6f644
feat: runtime reconnecting
2025-07-02 22:20:20 +08:00
Junyan Qin
62b2884011
chore: delete Query class
2025-06-30 21:47:40 +08:00
Junyan Qin
6b782f8761
feat: switch Query to langbot-plugin definition
2025-06-30 21:47:40 +08:00
Junyan Qin
0c2560cafb
feat: switch tool entities and format
2025-06-30 21:47:40 +08:00
Junyan Qin
c5eeab2fd0
feat: listing plugins
2025-06-30 21:43:43 +08:00
Junyan Qin
2d06f1cadb
feat: connector for plugin runtime
2025-06-30 21:43:43 +08:00
Junyan Qin
896fef8cce
perf: make launch notes show async
2025-06-30 21:34:02 +08:00
Junyan Qin
1627d04958
fix: bad import
2025-06-30 21:13:14 +08:00
Junyan Qin (Chin)
3e707b4b6e
feat: reset all associated session after bot and pipeline modified ( #1517 )
2025-06-09 21:50:08 +08:00
Junyan Qin (Chin)
f1e9f46af1
feat: event log of bots ( #1441 )
...
* feat: basic arch of event log
* feat: complete event log framework
* fix: bad struct in bot log api
* feat: add event logging to all platform adapters
Co-Authored-By: wangcham233@gmail.com <651122857@qq.com >
* feat: add event logging to client classes
Co-Authored-By: wangcham233@gmail.com <651122857@qq.com >
* refactor: bot log getting api
* perf: logger for aiocqhttp and gewechat
* fix: add ignored logger in dingtalk
* fix: seq id bug in log getting
* feat: add logger in dingtalk,QQ official,Slack, wxoa
* feat: add logger for wecom
* feat: add logger for wecomcs
* perf(event logger): image processing
* 完成机器人日志的前端部分 (#1479 )
* feat: webui bot log framework done
* feat: bot log complete
* perf(bot-log): style
* chore: fix incompleted i18n
* feat: support message session copy
* fix: filter and badge text
* perf: styles
* feat: add bot toggle switch in bot card
* fix: linter errors
---------
Co-authored-by: Junyan Qin <rockchinq@gmail.com >
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: wangcham233@gmail.com <651122857@qq.com >
Co-authored-by: HYana <65863826+KaedeSAMA@users.noreply.github.com >
2025-05-27 22:36:50 +08:00
Junyan Qin
e5b2da225c
perf: no longer get host ip
2025-05-21 19:42:04 +08:00
Junyan Qin
347da6142e
perf: multi language
2025-05-15 10:40:36 +08:00
Junyan Qin
a9f4dc517a
perf: remove -q params in plugin deps precheking
2025-05-15 10:24:53 +08:00
Junyan Qin (Chin)
13d36412dd
fix: llm model wrongly required when runner is not local-agent ( #1386 )
2025-05-12 14:16:17 +08:00
Junyan Qin
66050febb6
chore: v3 config migration script
2025-05-10 20:43:19 +08:00
Junyan Qin
055b389353
style: restrict line-length
2025-05-10 18:04:58 +08:00
Junyan Qin
b30016ed08
fix: args bugs of chatcmpl
2025-05-10 18:02:05 +08:00
Junyan Qin
247b41bdb2
Merge branch 'master' into version/4.0
2025-05-10 17:47:14 +08:00
Junyan Qin
c52236e8a9
chore: switch to pre-commit
2025-05-10 17:14:09 +08:00
Junyan Qin
425681ea09
feat: remove telemetry
2025-05-10 16:17:01 +08:00
Junyan Qin
b65ce87a39
fix: current_stage in Query
2025-04-29 17:44:11 +08:00