code.oscarkilo.com/okg/klex.go

.gitignore
README.md
auth.go
authz.go
chat.go
chat/
client.go
config.go
embed.go
exemplary.go
go.mod
go.sum
group.go
internal/
klee/
klex.go
main.go
okg_test.go
one.go
pr.go
repo.go
who/
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)
}