fix(platform): resolve post-rebase compatibility

This commit is contained in:
huanghuoguoguo
2026-07-19 23:03:54 +08:00
parent 8afab5fa49
commit e4d4860446
6 changed files with 141 additions and 5 deletions
+2 -2
View File
@@ -444,9 +444,9 @@ class WecomBotAdapter(abstract_platform_adapter.AbstractMessagePlatformAdapter):
'WeComBot: cannot register form pause (no active stream session); falling back to plain text'
)
try:
from langbot.pkg.provider.runners.difysvapi import _format_human_input_text
from langbot.pkg.platform.human_input import format_human_input_text
fallback = _format_human_input_text(
fallback = format_human_input_text(
form_data.get('node_title', ''),
form_data.get('form_content', ''),
form_data.get('actions', []) or [],