describe_garden: list each plop's position, so a move can keep the layout
Asked to move four tomatoes planted in a column "keeping the same spacing", the live assistant re-laid them as two pairs: the per-plop listing said "north" and "south" and nothing else. Each listed plop (and list_plantings) now carries xCm/yCm in the object's local frame. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
@@ -33,13 +33,15 @@ func NewToolbox(svc *service.Service, actorID int64, today string) *llm.Toolbox
|
||||
"Summarize a garden: its dimensions, objects (with sizes/positions/version), and each "+
|
||||
"object's active plantings grouped by plant — how many, roughly where, when they went in, "+
|
||||
"and days to maturity when known. A small group lists its plops individually (id + "+
|
||||
"version, for move_planting/remove_planting); a large one (a grid-filled bed) does not — "+
|
||||
"use list_plantings for those ids, or act on the whole group with remove_plantings.",
|
||||
"version for move_planting/remove_planting, and xCm/yCm in the object's local frame so a "+
|
||||
"move can keep their layout); a large one (a grid-filled bed) does not — use "+
|
||||
"list_plantings for those, or act on the whole group with remove_plantings.",
|
||||
a.describeGarden),
|
||||
llm.DefineTool("list_plantings",
|
||||
"List one object's active plops one by one, each with its id, version, location, count and "+
|
||||
"planting date — the detail describe_garden leaves out for a large group. Narrow to one "+
|
||||
"plant with plantId. Use it only when you need to address individual plops.",
|
||||
"List one object's active plops one by one, each with its id, version, position (xCm/yCm "+
|
||||
"in the object's local frame), location, count and planting date — the detail "+
|
||||
"describe_garden leaves out for a large group. Narrow to one plant with plantId. Use it "+
|
||||
"only when you need to address individual plops.",
|
||||
a.listPlantings),
|
||||
llm.DefineTool("create_object",
|
||||
"Add an object (bed, grow_bag, container, in_ground, tree, path, structure) to a garden, positioned by its center in garden cm.",
|
||||
|
||||
Reference in New Issue
Block a user