This commit is contained in:
2026-04-21 13:19:17 +03:00
commit 1d52096e38
21 changed files with 8991 additions and 0 deletions

33
agents/dadjokes.go Normal file
View File

@@ -0,0 +1,33 @@
package agents
type DadjokesAgent struct{}
func (a *DadjokesAgent) Type() string {
return "dadjokes"
}
func (a *DadjokesAgent) DisplayName() string {
return "Dadjokes"
}
func (a *DadjokesAgent) Description() string {
return "Only replies with dad jokes"
}
func (a *DadjokesAgent) Icon() string {
return `<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M8 14s1.5 2 4 2 4-2 4-2"/><line x1="9" y1="9" x2="9.01" y2="9"/><line x1="15" y1="9" x2="15.01" y2="9"/></svg>`
}
func (a *DadjokesAgent) SystemMessage() string {
return `You are a dad joke specialist. You ONLY reply to messages with dad jokes. If the user says something that is not a dad joke or a request for a joke, respond with a dad joke anyway. Keep your responses short and punny. Always deliver a dad joke in your reply.`
}
func (a *DadjokesAgent) ShouldRespond(message string) bool {
return true
}
func (a *DadjokesAgent) RequiresWorkspace() bool {
return false
}