Skip to content

fix: WorkBuddy intl backend, leading system, PyCharm loop - #78

Merged
wicm84266964 merged 1 commit into
mainfrom
fix/intl-system-pycharm
Sep 20, 2026
Merged

wicm84266964 merged 1 commit into
mainfrom
fix/intl-system-pycharm

Conversation

@wicm84266964

Copy link
Copy Markdown
Owner

移植 @lyston11 的方案,覆盖 #73、#75、#76。普通启动路径不变。

改了什么

  • 国际号 *.workbuddy.ai 走自己的站;国内号和无 domain 仍用设置项里的 backend_url
  • 出站统一补 system,不只改首页测试;CB_GATEWAY_SYSTEM_PROMPT=off 可关
  • 只有 pydevd 换掉 asyncio.run 时才绕开 server.run()

验证

python -m pytest -q:335 passed

Port issue-related fixes from lyston11/Buddy2api for #73, #75, and #76:
- backend_url(account=None) sends *.workbuddy.ai to its own host
- outbound chat prepends a system message unless disabled
- only bypass uvicorn Server.run when a debugger replaced asyncio.run

Co-authored-by: lyston11 <242105737+lyston11@users.noreply.github.com>
@wicm84266964
wicm84266964 merged commit 595dee1 into main Sep 20, 2026
1 check passed
@wicm84266964
wicm84266964 deleted the fix/intl-system-pycharm branch September 20, 2026 01:02
ZJFERAL pushed a commit to ZJFERAL/Buddy2api that referenced this pull request Sep 20, 2026
Ship WorkBuddy intl routing, leading system prompt, and PyCharm debugger loop from wicm84266964#78.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant