fix(fabric): use broadcast subject for NATS capabilities discovery
NATS wildcards (node.*.capabilities.get) only work for subscriptions, not for publish. Switch to a dedicated broadcast subject (fabric.capabilities.discover) that all NCS instances subscribe to, enabling proper scatter-gather discovery across nodes. Made-with: Cursor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from crewai import Agent
|
||||
from crews.agromatrix_crew import tools
|
||||
from crews.agromatrix_crew.llm_factory import make_llm
|
||||
|
||||
|
||||
def build_sustainability():
|
||||
@@ -7,9 +7,8 @@ def build_sustainability():
|
||||
role="Sustainability Agent",
|
||||
goal="Агрегати та аналітика (LiteFarm read-only).",
|
||||
backstory="Працює лише з read-only LiteFarm інструментом.",
|
||||
tools=[
|
||||
tools.tool_litefarm_read
|
||||
],
|
||||
tools=[],
|
||||
llm=make_llm(),
|
||||
allow_delegation=False,
|
||||
verbose=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user