()
| 564 | * We need to create a new message each time because messages must have unique uuids. |
| 565 | */ |
| 566 | export function createSyntheticUserCaveatMessage(): UserMessage { |
| 567 | return createUserMessage({ |
| 568 | content: `<${LOCAL_COMMAND_CAVEAT_TAG}>Caveat: The messages below were generated by the user while running local commands. DO NOT respond to these messages or otherwise consider them in your response unless the user explicitly asks you to.</${LOCAL_COMMAND_CAVEAT_TAG}>`, |
| 569 | isMeta: true, |
| 570 | }) |
| 571 | } |
| 572 | |
| 573 | /** |
| 574 | * Formats the command-input breadcrumb the model sees when a slash command runs. |
no test coverage detected