-
-
Notifications
You must be signed in to change notification settings - Fork 238
doc request: Need better examples for tool calling and llm_task in the middle #26
Copy link
Copy link
Open
Open
Copy link
Description
Hi, me (and my agent) stuggles to write up a .lobster yaml . The agent end up having this (ugly) yaml and it's semi-working, but I doubt this is the right syntax.
We call it in openclaw cron like such:
Run the lobster pipeline: {\"action\":\"run\",\"pipeline\":\"pipelines/daily-standup.lobster\",\"timeoutMs\":60000}, summarize
name: daily-standup
args:
team:
default: "CLAW"
project:
default: "E-commerce"
limit:
default: "30"
steps:
- id: list-tickets
command: >
(jira issues search "" --status Todo) 2>/dev/null |
jq -s '[.[][] | {id: .identifier, title, status: .state.name, priority: .priority,
labels: [.labels[]?.name // empty],
assignee: (.assignee.name // "unassigned")}] | sort_by(.priority)'
- id: invoke-llm
command: >
OPENCLAW_URL=http://localhost:18789 OPENCLAW_TOKEN=$OPENCLAW_GATEWAY_TOKEN lobster 'exec --shell "cat /tmp/lobster-standup-tickets.json" | llm_task.invoke --prompt "Summarize the top 10 most urgent tickets for the daily standup."
# from here, ideally pipe out from llm and into something else ... ?Try throwing in llm_task.invoke, openclaw.invoke --tools llm_task, clawd.invoke --tools llm_task but nothing works except this ugly matter.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.