Junyan Qin
75edeb7a01
chore: adjust dir structure
2025-11-16 16:28:04 +08:00
Junyan Qin
c5aa5be4d8
chore: update
2025-11-07 23:19:51 +08:00
Junyan Qin
92614062cc
chore: update
2025-11-07 23:10:57 +08:00
Junyan Qin
09307d8c6d
chore: update
2025-11-07 23:04:49 +08:00
Junyan Qin
894db240ae
chore: update
2025-11-07 23:02:50 +08:00
Junyan Qin
f79cde5b0c
chore: update
2025-11-07 22:55:33 +08:00
Junyan Qin
d43c2c498c
chore: try pack templates in langbot/
2025-11-07 22:51:30 +08:00
Junyan Qin
5f6036c5a8
chore: update pyproject.toml
2025-11-07 22:19:15 +08:00
copilot-swe-agent[bot]
dead0794b1
Simplify package configuration and document behavioral differences
...
- Removed redundant package-data configuration, relying on MANIFEST.in
- Added documentation about behavioral differences between package and source installation
- Clarified that include-package-data=true uses MANIFEST.in for data files
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
2025-11-07 14:08:57 +00:00
copilot-swe-agent[bot]
f784bad08b
Fix code review issues
...
- Use specific exception types instead of bare except
- Fix misleading comments about directory levels
- Remove redundant existence check before makedirs with exist_ok=True
- Use context manager for file opening to ensure proper cleanup
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
2025-11-07 14:06:49 +00:00
copilot-swe-agent[bot]
4e86e1c93d
Address code review feedback
...
- Made package-data configuration more specific to langbot package only
- Improved path detection with caching to avoid repeated file I/O
- Removed sys.path searching which was incorrect for package data
- Removed interactive input() call for non-interactive environment compatibility
- Simplified error messages for version check
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
2025-11-07 14:04:47 +00:00
copilot-swe-agent[bot]
c0eec966ac
Add PyPI installation documentation
...
- Created PYPI_INSTALLATION.md with detailed installation and usage instructions
- Updated README.md to feature uvx/pip installation as recommended method
- Updated README_EN.md with same changes for English documentation
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
2025-11-07 14:02:49 +00:00
copilot-swe-agent[bot]
62d6dae4f5
Add PyPI publishing workflow and update license
...
- Created GitHub Actions workflow to build frontend and publish to PyPI
- Added license field to pyproject.toml to fix deprecation warning
- Updated .gitignore to exclude build artifacts
- Tested package building successfully
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
2025-11-07 14:01:07 +00:00
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
copilot-swe-agent[bot]
8fe59da302
Initial plan
2025-11-07 13:48:46 +00:00
Junyan Qin
dd2254203c
revert: test image first wait time
2025-11-07 19:31:45 +08:00
Matthew_Astral
f8658e2d77
fix: get_llm_models: model_service is a module, not an attribute ( #1762 )
2025-11-07 19:23:49 +08:00
Junyan Qin
021c3bbb94
perf: show help link in api key mgm dialog
2025-11-07 18:48:49 +08:00
Junyan Qin
0a64a96f65
ci: update 15s for image testing
2025-11-07 18:43:51 +08:00
Copilot
48576dc46d
ci: Add automated health check workflow for dev image on master branch ( #1761 )
...
* Initial plan
* Add test-dev-image workflow for master branch
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Improve API health check to show response body for debugging
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Add connection timeout handling for curl health checks
Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com >
* Add explicit permissions to workflow for security
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-07 18:38:33 +08:00
Junyan Qin
12de0343b4
chore: remove legacy plugin files
2025-11-07 18:21:09 +08:00
Junyan Qin
fcd34a9ff3
perf: no longer resp enabled platform count in /info
2025-11-07 18:19:09 +08:00
Junyan Qin
0dcf904d81
ci: no longer update 'latest' tag when publish a pre-release
2025-11-07 18:08:11 +08:00
Junyan Qin (Chin)
4fe92d8ece
Feat/plugin on windows ( #1760 )
...
* feat: communicate with runtime via ws
* chore: bump langbot-plugin 0.1.9b2
* chore: comment on shutdown on windows
v4.4.2b1
v.4.4.2b1
2025-11-07 17:26:42 +08:00
fdc310
c893ffc177
fix:coze-studio api done return data is none and event done char not … ( #1758 )
...
* fix:coze-studio api done return data is none and event done char not is "done"
* Update pkg/provider/runners/cozeapi.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Junyan Qin (Chin) <rockchinq@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-07 15:17:00 +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
Junyan Qin
af82227dff
chore: update README
2025-11-06 21:37:31 +08:00
Junyan Qin
8f2b177145
chore: add guidance for code agents
2025-11-06 21:34:02 +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
Junyan Qin
17070471f7
feat: delete all bot log images at startup ( #1650 )
2025-11-06 20:02:07 +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
2c2a89d9db
chore: bump version 4.4.1
v4.4.1
2025-11-06 00:09:35 +08:00
Junyan Qin (Chin)
c91e2f0efe
feat: add file array[file] and text type plugin config fields ( #1750 )
...
* feat: add and type plugin config fields
* chore: add hant and jp i18n
* feat: plugin config file auto clean
* chore: bump langbot-plugin to 0.1.8
* chore: fix linter errors
2025-11-06 00:07:57 +08:00
Junyan Qin
411d082d2a
chore: fix linter errors
2025-11-06 00:07:43 +08:00
Junyan Qin
d4e08a1765
chore: bump langbot-plugin to 0.1.8
2025-11-06 00:05:03 +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
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
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
973e7bae42
fix: wecombot id ( #1747 )
2025-11-05 12:14:01 +08:00
Junyan Qin
94aa175c1a
chore: bump langbot-plugin to 0.1.7
2025-11-05 12:11:46 +08:00
Junyan Qin
777b766fff
chore: bump version 4.4.0
v4.4.0
2025-11-04 22:05:49 +08:00