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
480 B
Python
15 lines
480 B
Python
from crewai import Agent
|
|
from crews.agromatrix_crew.llm_factory import make_llm
|
|
|
|
|
|
def build_spreadsheet():
|
|
return Agent(
|
|
role="Spreadsheet Agent",
|
|
goal="Читати/редагувати/створювати XLSX файли та формувати артефакти.",
|
|
backstory="Використовує лише spreadsheet інструмент.",
|
|
tools=[],
|
|
llm=make_llm(),
|
|
allow_delegation=False,
|
|
verbose=True
|
|
)
|