mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix(feishu): issue where streaming edits in Feishu show extra leading newlines
This commit is contained in:
parent
8f50f2834a
commit
9dba75bc38
1 changed files with 1 additions and 0 deletions
|
|
@ -1700,6 +1700,7 @@ class FeishuAdapter(BasePlatformAdapter):
|
||||||
if not self._client:
|
if not self._client:
|
||||||
return SendResult(success=False, error="Not connected")
|
return SendResult(success=False, error="Not connected")
|
||||||
|
|
||||||
|
content = self.format_message(content)
|
||||||
try:
|
try:
|
||||||
msg_type, payload = self._build_outbound_payload(content)
|
msg_type, payload = self._build_outbound_payload(content)
|
||||||
body = self._build_update_message_body(msg_type=msg_type, content=payload)
|
body = self._build_update_message_body(msg_type=msg_type, content=payload)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue