repos
/ orchard main

orchard

mirror

Every site I host, in one repo, along with the Cloudflare Tunnel and Caddy that front them. It's all Go, Vite, and SQLite, and it runs on a desktop at home with nothing listening on an inbound port.

blogbuncaddycloudflare-tunneldockergogolanghomelabhtml-templatemonorepoself-hostedseosqlitestatic-sitetypstuptime-monitoringviteweb-analytics

569 B · 18 lines · Go Raw History
 1package tools
 2
 3// Default is every tool the chat is offered. Adding one here is the only step:
 4// the schemas handed to the model and the dispatch table are both built from
 5// this, so a tool cannot exist in one and not the other.
 6func Default() *Registry {
 7	r := &Registry{}
 8	for _, t := range []Tool{
 9		WebSearch, WebFetch, News, Remember, Weather, Markets, SportsScores, Odds, MusicLookup, Convert, Calc, Now,
10		Wikipedia,
11		OrchardLogs, OrchardStatus, OrchardAnalytics, OrchardRepos, OrchardCode, OrchardDash,
12		ChatHistory, XSearch,
13	} {
14		r.Add(t)
15	}
16	return r
17}