package main
import "oscarkilo.com/klex-git/api"
// newKlexClient builds a Klex LLM client. The endpoint is the
// public host's /klex path; tests redirect by overriding
// cfg.Host.
func newKlexClient(cfg *Config) *api.Client {
return api.NewClient(cfg.Host+"/klex", cfg.ApiKey)
}