mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-18 04:41:56 +00:00
fix(line): use build_source instead of nonexistent create_source
The LINE adapter calls self.create_source(...) which raises AttributeError on every inbound message — no such method exists. The base PlatformAdapter exposes this factory as build_source(), consistent with the IRC and Teams adapters. Fixes #23728
This commit is contained in:
parent
afa5b81918
commit
7c67097325
1 changed files with 1 additions and 1 deletions
|
|
@ -959,7 +959,7 @@ class LineAdapter(BasePlatformAdapter):
|
|||
if chat_type == "dm" and self._client:
|
||||
asyncio.create_task(self._client.loading(chat_id))
|
||||
|
||||
source_obj = self.create_source(
|
||||
source_obj = self.build_source(
|
||||
chat_id=chat_id,
|
||||
chat_type=chat_type,
|
||||
user_id=user_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue