Commit Graph
89 Commits
Author SHA1 Message Date
wangcham 84b3485e7e fix(platform): align eba event declarations 2026-07-19 22:41:31 +08:00
wangcham 1167d9e951 feat(kook): add eba adapter 2026-07-19 22:40:16 +08:00
Guanchao WangandRockChinQ 2a3f7f8059 fix(mcp): harden remote SSE fallback (#2324)
* fix(mcp): harden remote SSE fallback

* fix(mcp): preserve transport errors during fallback

---------

Co-authored-by: RockChinQ <[email protected]>
2026-07-11 22:08:37 +08:00
Guanchao Wang e06fac2bb7 fix: add filereader for dingtalk,lark (#2122)
* fix: add filereader for dingtalk

* feat: add lark
2026-04-10 16:10:13 +08:00
Guanchao Wang bec61427a0 Merge pull request #2118 from HaiYangBG1/fix/dingtalk-voice-recognition
fix(dingtalk): use voice recognition text instead of raw audio binary
2026-04-10 10:53:22 +08:00
Guanchao Wang e190029e1f Merge pull request #2114 from langbot-app/fix/duplicate-close
Fix/duplicate close
2026-04-08 15:03:58 +08:00
Guanchao Wang 66087f83e1 Merge pull request #2113 from langbot-app/feat/wecombot-group-msg
feat: add feat for receive files in wecombot
2026-04-07 16:54:35 +08:00
Guanchao Wang 478bc62576 Merge pull request #2096 from langbot-app/fix/wecomaibot_downfile_url
fix:Modify the file logic. After receiving it, instead of downloading…
2026-04-02 09:55:48 +08:00
Guanchao Wang 88a04fdbe8 Merge pull request #2055 from langbot-app/copilot/fix-sender-name-parameter 2026-03-23 14:14:36 +08:00
89064a9d5b feat: add support for username (#2047)
* feat: add support for username

* fix: lint

* fix: migerations

* fix: change to version 21

* fix: remove duplicate dbm021 migration and rename dbm022

* feat: add user_id and user_name display with copy functionality in BotSessionMonitor

---------

Co-authored-by: wangcham <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2026-03-12 01:27:22 +08:00
Guanchao Wang d31f25c8df Merge pull request #2041 from langbot-app/fix/websocket-chat-bug
Fix/websocket chat bug
2026-03-09 16:11:17 +08:00
Guanchao Wang 210e5e50d3 fix: telegram send messsage (#2010) 2026-02-27 00:40:19 +08:00
Guanchao WangandRockChinQ b8df0dbd7f feat: message aggregator (#1985)
* feat: aggregator

* fix: resolve deadlock, mutation, and safety issues in message aggregator

- Fix deadlock: don't await cancelled timer tasks inside the lock;
  _flush_buffer acquires the same lock, causing a deadlock cycle
- Fix message_event mutation: keep original message_event unmodified
  to preserve message_id/metadata for reply/quote; only pass merged
  message_chain separately
- Fix Plain positional arg: Plain('\n') → Plain(text='\n')
- Fix float() ValueError: wrap delay cast in try/except
- Add MAX_BUFFER_MESSAGES (10) cap to prevent unbounded buffer growth
- Default enabled to false to avoid surprising latency on upgrade
- Fix flush_all: cancel all timers under one lock acquisition, then
  flush outside the lock to avoid deadlock

---------

Co-authored-by: RockChinQ <[email protected]>
2026-02-25 14:20:34 +08:00
Guanchao Wang 27fb22d7be Merge pull request #1966 from langbot-app/feat/export-history
feat: support export message history
2026-02-17 22:33:07 +08:00
wangcham ca504384d2 Merge branch 'feat/export-history' of https://github.com/langbot-app/LangBot into feat/export-history 2026-02-17 22:22:33 +08:00
wangcham b7e1e43fbd fix: some errors 2026-02-17 22:21:53 +08:00
wangcham 10dd8c86d0 fix: frontend lint 2026-02-09 10:48:22 +08:00
wangcham c2574bdd3a fix: lint error 2026-02-09 01:01:20 +08:00
wangcham d2d7892325 fix: lint 2026-02-09 00:41:34 +08:00
Guanchao Wang 89ec86c530 fix: issue 1936 (#1937) 2026-01-27 20:28:19 +08:00
5d9f6ec763 Feat/monitor (#1928)
* feat: add monitor

* feat: fix tab

* feat: work

* feat: not reliable monitor

* feat: enhance monitoring page layout with integrated filters and refresh button

* feat: add support for runner recording

* feat: add jump button & alignment

* feat: new

* fix: not show query variables in local agent

* fix: pnpm lint and python ruff check

* fix: ruff fromat

* chore: remove unnecessary migration

* style: optimize monitoring page layout and fix sticky filter issues

- Enhanced metric cards with gradient backgrounds and hover effects
- Increased traffic chart height from 200px to 300px
- Adjusted grid layout and spacing for better visual appeal
- Fixed sticky filter area to properly cover parent padding without transparent gaps
- Used negative margins and positioning to eliminate scrolling artifacts
- Matched padding/margins with other pages (pipelines, bots) for consistency
- Removed duplicate title/subtitle from page content
- Added cursor-pointer styling to tab triggers
- Removed border between tab list and tab content

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>

* fix: apply prettier formatting to monitoring components

- Fixed indentation and spacing in MetricCard.tsx
- Fixed formatting in TrafficChart.tsx
- Applied prettier formatting to page.tsx

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>

* feat: update HomeSidebar to trigger action on child selection and localize monitoring titles

* refactor: streamline LLM and embedding invocation methods

* feat: add embedding model monitor

* fix: database version

* chore: simplify pnpm-lock.yaml formatting

---------

Co-authored-by: Junyan Qin <[email protected]>
Co-authored-by: Claude Sonnet 4.5 <[email protected]>
2026-01-26 21:08:23 +08:00
Guanchao Wang e17dba0a98 fix: testing mcp server (#1912) 2026-01-09 18:39:40 +08:00
0aa5188b29 Feat/unified webhook (#1793)
* fix: wecombot id

* feat: add unified webhook for wecom

* feat: add support for wecombot,wxoa,slack and qqo

* fix: slack adapter

* feat: qqo

* fix: errors when npm lint

* fix: qqo webhook

* feat: add wecomcs

* fix: modify wecomcs

* fix: import errors

* feat: add configurable webhook display prefix (#1797)

* Initial plan

* Add webhook_display_prefix configuration option

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

* perf: change config field name

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>

* feat: finish the fxxking line adapter

---------

Co-authored-by: Claude <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: RockChinQ <[email protected]>
2025-12-01 22:09:20 +08:00
Guanchao Wang 973e7bae42 fix: wecombot id (#1747) 2025-11-05 12:14:01 +08:00
Guanchao WangandJunyan Qin 1adaa93034 Fix/mcp (#1746)
* fix: mcp session cannot be enabled

* fix: error message

* perf: ui

* perf: ui

---------

Co-authored-by: Junyan Qin <[email protected]>
2025-11-04 22:02:40 +08:00
Guanchao Wang 750cc24900 Fix/qqo (#1709)
* fix: qq official

* fix: appid
2025-11-04 18:46:59 +08:00
wangcham 76831579ad fix: error message in mcp card 2025-11-02 13:57:37 +00:00
wangcham c2d752f9e9 fix: try & catch & error 2025-11-02 12:37:00 +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
Guanchao Wang 78cc157657 Merge pull request #1735 from langbot-app/fix/text_splitter
fix: langchain error
2025-10-30 12:55:10 +08:00
wangcham 4c5139e9ff fix: delete print function 2025-10-29 14:35:09 +00:00
wangcham a055e37d3a feat: add i18n 2025-10-29 14:00:45 +00:00
Guanchao Wang bef5d6627b Merge pull request #1731 from Alfonsxh/master
feat: 实现企业微信智能机器人流式响应
2025-10-29 21:50:52 +08:00
wangcham d86b884cab feat: mcp-ui 2025-10-25 02:28:20 +00: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 075091ed06 fix: mcp refactor 2025-10-23 15:47:44 +00:00
wangcham d0a3dee083 fix: mcp card 2025-10-23 22:30:53 +08:00
wangcham 6ba9b6973d fix: page out of control 2025-10-22 13:37:53 +00:00
wangcham 68372a4b7a feat: add mcp from sse on frontend 2025-10-13 12:51:58 +00:00
Guanchao Wang 0ab366fcac Fix/qqo (#1709)
* fix: qq official

* fix: appid
2025-10-07 00:06:07 +08:00
Guanchao Wang 04ab48de8e Merge pull request #1664 from langbot-app/fix/wecom
fix: wecom function
2025-09-15 22:53:54 +08:00
wangcham 2c6f127f47 feat: delete host config 2025-09-14 12:42:31 +08:00
wangcham 72ec4b77d6 feat: fix bot id 2025-09-14 12:42:31 +08:00
wangcham 8b935175bd feat:wecom ai bot 2025-09-14 12:42:31 +08:00
6f98feaaf1 Feat/qdrant vdb (#1649)
* feat: Qdrant vector search support

Signed-off-by: Anush008 <[email protected]>

* fix: modify env

* fix: fix the old version problem

* fix: For older versions

* perf: minor perf

---------

Signed-off-by: Anush008 <[email protected]>
Co-authored-by: Anush008 <[email protected]>
Co-authored-by: Junyan Qin <[email protected]>
2025-09-12 12:41:16 +08:00
Guanchao Wang fe3fd664af Fix/slack image (#1501)
* fix: dingtalk adapters couldn't handle images

* fix: slack adapter couldn't put the image in logger
2025-06-06 10:04:00 +08:00
Guanchao Wang 6402755ac6 fix: dingtalk adapters couldn't handle images (#1500) 2025-06-05 23:37:58 +08:00
Guanchao Wang 256d24718b fix: dingtalk & wecom problems (#1424) 2025-05-14 22:55:16 +08:00
Guanchao Wang c3de3fa275 fix: wrong status when creating a WecomCS bot (#1408) 2025-05-13 19:33:32 +08:00
Guanchao Wang 96183eb3e0 fix: access_token problems in wecomcs (#1355) 2025-04-29 13:04:52 +08:00
Guanchao Wang 778065f7fb fix: image couldn't be sent in lark (#1348) 2025-04-28 15:30:30 +08:00
Guanchao Wang 6e3514c0b2 feat: add support for wecom customer service (#1304) 2025-04-16 15:02:01 +08:00
Guanchao Wang 601b0a8964 fix(moonshot): tool_call_id not found error (#1040) (#1298) 2025-04-14 20:17:11 +08:00
Guanchao Wang 7c2ceb0aca fix: add reasoning content for deepseek-reasoner (#1296) 2025-04-14 15:05:53 +08:00
Guanchao Wang 42fabd5133 fix: delete print function in lark (#1295) 2025-04-14 14:37:34 +08:00
Guanchao Wang 210a8856e2 fix: telegram markdown & supergroup bugs (#1293) 2025-04-13 18:48:38 +08:00
Guanchao Wang c531cb11af fix: bailian api streaming mode can't be established 2025-04-13 17:47:05 +08:00
Guanchao Wang 0e00da6617 Merge pull request #1270 from RockChinQ/fix/telegram-markdown
fix: markdown and image problems in tg
2025-04-02 12:33:15 +08:00
wangcham 47acb63feb add support for markdown card in dingtalk & tg 2025-04-01 07:11:48 -04:00
wangcham 873a0339d8 feat: add support for sending active message in slack 2025-04-01 03:03:48 -04:00
wangcham 715da548c8 fix: put the link and content together 2025-04-01 02:37:25 -04:00
Guanchao WangandCopilot 8799f86ea4 Update pkg/platform/sources/slack.py
Co-authored-by: Copilot <[email protected]>
2025-03-31 13:48:37 +08:00
wangcham 686be4acbc fix: eliminate host config 2025-03-31 01:10:45 -04:00
wangcham 5744eca37a fix: bot user id in slack 2025-03-30 23:06:03 -04:00
wangcham 70f8ddb1ba fix: delete useless image function in slack 2025-03-30 22:56:51 -04:00
wangcham be1328cee9 feat: add support for slack 2025-03-30 22:24:53 -04:00
wangcham c0dbf6fd13 feat:add support for slack 2025-03-30 12:53:48 -04:00
WangCham cfdd0f8cb2 fix: Format the code in a standardized way (#1222) 2025-03-21 14:04:13 +08:00
wangcham a9ae36d362 feat: add support for loading message in wxoa 2025-03-18 06:58:35 -04:00
wangcham 8b4684675e fix: eliminate critical message queue blockage in wxoa 2025-03-13 10:44:09 -04:00
wangcham c7799a65c4 fix: update config in wxoa 2025-03-13 05:15:03 -04:00
wangcham aabb01c50f feat: add support for longer response in wxoa 2025-03-12 23:39:43 -04:00
wangcham 6a866bf871 feat: add support for sending active messages in wecom 2025-03-12 04:03:02 -04:00
wangcham 7abd999420 feat: add support for sending active messages in dingtalk 2025-03-11 04:27:17 -04:00
wangcham 0e52f679a2 fix: wrong group id in webhook qq 2025-03-10 06:56:15 -04:00
wangcham 7dcc44b4fc feat: add support for dingtalk 2025-02-13 03:47:45 -05:00
WangCham 04dd4fce68 Update wecom.py
fix the bug that wecom couldnt send message when accept an image.
2025-02-12 22:04:16 +08:00
wangcham 6f32bf9621 fix: wecom userid 2025-02-10 10:01:48 -05:00
wangcham ac628b26d9 feat:add support for wechat official account 2025-02-10 09:16:33 -05:00
wangcham 7ba655902b fix: wecom userid couldn't pass correctly 2025-02-10 09:11:27 -05:00
wangcham 05c1fdaa9e feat: add adapter for 微信公众号 2025-02-10 06:08:59 -05:00
WangCham c72ad2b242 Merge pull request #1026 from 7emotions/patch-1
fix: remove fatal clearance to message from QQWebhook
2025-02-07 23:16:22 +08:00
wangcham 43ea64befa fix: add support for webhook qq official 2025-02-04 06:35:51 -05:00
wangcham 7bb9e6e951 fix:修复了企业微信的accesstoken问题 2025-01-25 04:17:01 -05:00
wangcham 5add1d71bc feat: migration for wecom config 2025-01-20 21:34:34 -05:00
wangcham 7a01cff0c8 perf(wecom): add supports for images 2025-01-20 21:24:46 -05:00
wangcham 60d4f3d77c feat: add supports for wecom 2025-01-12 05:09:53 -05:00