Add optional tools, model, and maxTurns to prompt modules #15

Merged
weichen merged 1 commits from feature/agent-harness-p3b into main 2026-10-01 15:51:54 +00:00
Owner

Why: user overrides of a subagent profile need these fields on the shared contract.

Evidence: go test ./... passed, including the prompt_module_subagent golden.

Impact: empty fields stay omitted. Frontend and UI copy this type.

Refs: feature/agent-harness-p3b

Why: user overrides of a subagent profile need these fields on the shared contract. Evidence: go test ./... passed, including the prompt_module_subagent golden. Impact: empty fields stay omitted. Frontend and UI copy this type. Refs: feature/agent-harness-p3b
weichen added 1 commit 2026-10-01 15:40:31 +00:00
Why: User overrides of a subagent profile need a place on the shared contract, and empty fields must stay omitted so older modules keep their meaning.
Evidence: go test ./... passed, including the new prompt_module_subagent golden.
Impact: Existing modules serialize the same. Frontend and UI contracts still need a copy of the type.
Refs: feature/agent-harness-p3b
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen merged commit a8e81e078d into main 2026-10-01 15:51:54 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Core#15