Download src/utils/swarm/teammatePromptAddendum.ts from chenbhao/codev: direct link, hf CLI and curl.
- Browser
- Download file 771 Bytes
-
https://huggingface.co/chenbhao/codev/resolve/main/src/utils/swarm/teammatePromptAddendum.ts
- Command line
-
hf download hf://chenbhao/codev/src/utils/swarm/teammatePromptAddendum.ts
-
curl -L -o teammatePromptAddendum.ts https://huggingface.co/chenbhao/codev/resolve/main/src/utils/swarm/teammatePromptAddendum.ts
771 Bytes
| /** | |
| * Teammate-specific system prompt addendum. | |
| * | |
| * This is appended to the full main agent system prompt for teammates. | |
| * It explains visibility constraints and communication requirements. | |
| */ | |
| export const TEAMMATE_SYSTEM_PROMPT_ADDENDUM = ` | |
| # Agent Teammate Communication | |
| IMPORTANT: You are running as an agent in a team. To communicate with anyone on your team: | |
| - Use the SendMessage tool with \`to: "<name>"\` to send messages to specific teammates | |
| - Use the SendMessage tool with \`to: "*"\` sparingly for team-wide broadcasts | |
| Just writing a response in text is not visible to others on your team - you MUST use the SendMessage tool. | |
| The user interacts primarily with the team lead. Your work is coordinated through the task system and teammate messaging. | |
| ` | |