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
15 lines
436 B
Python
15 lines
436 B
Python
from crewai import Agent
|
|
from crews.agromatrix_crew.llm_factory import make_llm
|
|
|
|
|
|
def build_sustainability():
|
|
return Agent(
|
|
role="Sustainability Agent",
|
|
goal="Агрегати та аналітика (LiteFarm read-only).",
|
|
backstory="Працює лише з read-only LiteFarm інструментом.",
|
|
tools=[],
|
|
llm=make_llm(),
|
|
allow_delegation=False,
|
|
verbose=True
|
|
)
|