Commit Graph
3019 Commits
Author SHA1 Message Date
Junyan Qin 4011a302af chore: bump version 4.6.0b2 for testing v4.6.0b2 2025-11-16 19:28:52 +08:00
Junyan Qin deb725a2e2 fix: send adapters and requesters icons 2025-11-16 19:26:30 +08:00
Junyan Qin 33eb866660 chore: add templates/** 2025-11-16 19:20:43 +08:00
Junyan Qin 34e2fa03ce chore: bump version 4.6.0-beta.1 for testing v4.6.0b1 2025-11-16 19:11:02 +08:00
Junyan Qin 7b63bcdc39 ci: publish pypi 2025-11-16 19:09:24 +08:00
Junyan Qin d26e81620d fix: tests 2025-11-16 18:39:45 +08:00
Junyan Qin e7885539a7 fix: read default-pipeline-config.json 2025-11-16 18:13:10 +08:00
Junyan Qin f216505237 fix: read default-pipeline-config.json 2025-11-16 18:12:29 +08:00
Junyan Qin 8b11eefd0c Merge branch 'master' into copilot/create-langbot-python-package 2025-11-16 17:50:37 +08:00
Junyan Qin 418cddd657 chore: fix imports 2025-11-16 17:44:18 +08:00
Junyan Qin 75edeb7a01 chore: adjust dir structure 2025-11-16 16:28:04 +08:00
Junyan Qin 6a24c951e0 chore: bump langbot-plugin to 0.1.11b1 2025-11-16 14:58:54 +08:00
CopilotandRockChinQ 58369480e2 fix: add scrollbar to pipeline extensions tab when content overflows (#1781)
* Initial plan

* feat: add scrollbar to pipeline extensions tab

Co-authored-by: RockChinQ <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
2025-11-16 12:38:45 +08:00
43553e2c7d feat: Add Kubernetes deployment configuration for cluster deployments (#1779)
* Initial plan

* feat: Add Kubernetes deployment configuration and guide

Co-authored-by: RockChinQ <[email protected]>

* feat: Add test script and update docker-compose with k8s reference

Co-authored-by: RockChinQ <[email protected]>

* doc: add k8s deployment doc in README

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2025-11-14 11:25:11 +08:00
fdc310 268ac8855a fix: because launcher_id and sender_id This caused the user_id parameter of Coze to be too long. (#1778) 2025-11-14 10:28:38 +08:00
CopilotandRockChinQ 0f10cc62ec Add S3 object storage protocol support (#1780)
* Initial plan

* Add S3 object storage support with provider selection

Co-authored-by: RockChinQ <[email protected]>

* Fix lint issue: remove unused MagicMock import

Co-authored-by: RockChinQ <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
2025-11-14 10:09:26 +08:00
Junyan Qin 99f649c6b7 docs: update README add jiekou.ai 2025-11-12 11:15:27 +08:00
Junyan Qin f25ac78538 ci: no longer build for linux/arm64 v4.5.1b3 2025-11-11 19:03:29 +08:00
Junyan Qin cef24d8c4b fix: linter errors v4.5.1b2 2025-11-11 18:24:06 +08:00
7a10dfdac1 refactor: parallelize Docker multi-arch builds (arm64/amd64) (#1774)
* Initial plan

* refactor: parallelize Docker image builds for arm64 and amd64

Co-authored-by: RockChinQ <[email protected]>

* security: add explicit GITHUB_TOKEN permissions to workflow jobs

Co-authored-by: RockChinQ <[email protected]>

* refactor: use build cache instead of intermediate tags

Co-authored-by: RockChinQ <[email protected]>

* ci: perf trigger

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
v4.5.1b1
2025-11-11 18:19:35 +08:00
Junyan Qin 02892e57bb fix: default is able to be deleted 2025-11-11 18:10:31 +08:00
CopilotandRockChinQ 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 <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
2025-11-11 17:52:30 +08:00
Junyan Qin 0e0d7cc7b8 chore: add commit message format in AGENTS.md 2025-11-11 12:53:20 +08:00
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 <[email protected]>

* Fix TypeScript type and prettier formatting issues

Co-authored-by: RockChinQ <[email protected]>

* Rename provider categories: aggregator→maas, self_deployed→self-hosted

Co-authored-by: RockChinQ <[email protected]>

* Move provider_category from metadata to spec section

Co-authored-by: RockChinQ <[email protected]>

* perf: adjust category

* perf: adjust data structure

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2025-11-11 12:49:43 +08:00
Junyan Qin 8cd50fbdb4 chore: bump version 4.5.0 v4.5.0 2025-11-10 22:50:10 +08:00
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 <[email protected]>

* Frontend: Rename API Keys to API Integration, add webhook management UI with tabs

Co-authored-by: RockChinQ <[email protected]>

* Fix frontend linting issues and formatting

Co-authored-by: RockChinQ <[email protected]>

* chore: perf ui in api integration dialog

* perf: webhook data pack structure

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2025-11-10 22:41:25 +08:00
fdc310andJunyan Qin 32215e9a3f fix:Fixed the issue where the rich text processing in the DingTalk AP… (#1759)
* fix:Fixed the issue where the rich text processing in the DingTalk API did not account for multiple texts and images, as well as the presence of default line breaks. Also resolved the error in Dify caused by sending only images, which resulted in an empty query.

* fix:Considering the various possible scenarios, there are cases where plan_text is empty when there is file content, and there is no file (the message could not be parsed) and the content is empty.

* fix:Add the default modifiable prompt input for didify in the ai.yaml file to ensure that the error of query being empty occurs when receiving data.

* add: The config migration of Dify

* fix:Migration issue

* perf: minor fix

* chore: minor fix

---------

Co-authored-by: Junyan Qin <[email protected]>
2025-11-10 21:42:09 +08:00
Junyan Qin dd1c7ffc39 chore: bump langbot-plugin to 0.1.10 2025-11-10 17:11:38 +08:00
Junyan Qin b59bf62da5 perf: add rounded style for card icons 2025-11-10 11:07:37 +08:00
Junyan Qin f4c32f7b30 chore: add comments 2025-11-10 00:27:56 +08:00
Junyan Qin 8844a5304d revert: default thinking param for testing model 2025-11-10 00:22:38 +08:00
Junyan Qin 922ddd47f4 feat: add jiekou.ai requester 2025-11-10 00:22:10 +08:00
Junyan Qin 8c8702c6c9 chore: only start runtime process once on Windows 2025-11-09 21:47:20 +08:00
Junyan Qin 70147fcf5e perf: i18n for pipeline extensions 2025-11-09 12:40:19 +08:00
Junyan Qin b3ee16e876 chore: bump langbot-plugin to 0.1.9 2025-11-08 22:51:46 +08:00
8d7976190d Add pipeline copy button to duplicate existing configurations (#1767)
* Initial plan

* Add copy button to pipeline configuration page

Co-authored-by: RockChinQ <[email protected]>

* Add i18n support for copy suffix and address code review feedback

Co-authored-by: RockChinQ <[email protected]>

* Show new pipeline name in copy toast and close dialog after copy

Co-authored-by: RockChinQ <[email protected]>

* perf: tool list style in extension tab

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2025-11-08 14:03:41 +08:00
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 <[email protected]>

* Add i18n translations for multi-knowledge base selector

Co-authored-by: RockChinQ <[email protected]>

* Fix prettier formatting errors in DynamicFormItemComponent

Co-authored-by: RockChinQ <[email protected]>

* Add accessibility attributes to knowledge base selector checkbox

Co-authored-by: RockChinQ <[email protected]>

* fix: minor fix

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2025-11-08 13:45:09 +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]andRockChinQ 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 <[email protected]>
2025-11-07 14:08:57 +00:00
copilot-swe-agent[bot]andRockChinQ 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 <[email protected]>
2025-11-07 14:06:49 +00:00
copilot-swe-agent[bot]andRockChinQ 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 <[email protected]>
2025-11-07 14:04:47 +00:00
copilot-swe-agent[bot]andRockChinQ 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 <[email protected]>
2025-11-07 14:02:49 +00:00
copilot-swe-agent[bot]andRockChinQ 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 <[email protected]>
2025-11-07 14:01:07 +00:00
copilot-swe-agent[bot]andRockChinQ 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 <[email protected]>
2025-11-07 13:58:18 +00:00