require.Contains(t, text, "- reply: Ada's replies")
require.Contains(t, text, "Goal: let Ada work later")
require.Contains(t, text, `- work: an agent's report, starting "[Name]"`)
require.Contains(t, text, "- reply: Ada's replies")
require.Contains(t, text, "Goal: let Ada work later")
require.Contains(t, text, `- work: an agent's report, starting "[Name]"`)
require.NotContains(t, text, promptName)
// The old agent name is built from parts, so the source does not spell
require.NotContains(t, text, promptName)
// The old agent name is built from parts, so the source does not spell
func TestPromptLeavesOutAbsentFeatures(t *testing.T) {
text := prompt("Ada", "")
func TestPromptLeavesOutAbsentFeatures(t *testing.T) {
text := prompt("Ada", "")
- for _, absent := range []string{"image", "ubagent", "computer", "device", `zoom("Name")`, "instructions at the end"} {
+ for _, absent := range []string{"image", "ubagent", "computer", "device", "instructions at the end"} {
names := make([]string, len(tools))
for n, tool := range tools {
names[n] = tool.Name
names := make([]string, len(tools))
for n, tool := range tools {
names[n] = tool.Name