Commit Graph

3 Commits

Author SHA1 Message Date
LocalAI [bot] fa3b541f25 chore(ci): fix gofmt + gosimple lint failures on main (#48)
CI's fmt gate (`go fmt ./...` must be a no-op) and the golangci-lint
job (gosimple default linter) were red on main, independent of any
feature work:

- gofmt: clients/localai_client.go, prompt/prompt.go, stream.go were
  not gofmt-clean.
- gosimple S1011 (autoimprove.go): a loop appending each message is
  replaced with a single variadic append.

No behaviour change. Verified: `go fmt ./...` no-op, `go vet ./...`
clean, `go build ./...` ok, and golangci-lint v1.64.8 (the version CI
pins) exits 0.

Co-authored-by: Ettore Di Giacinto <mudler@localai.io>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-29 16:19:50 +02:00
Ettore Di Giacinto ee35d19a4d feat: add sub-agents support (#45)
* feat: add sub-agents support

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* add example

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-03-31 18:20:58 +02:00
Ettore Di Giacinto 63abdec718 feat: support streaming mode (#44)
* feat: support streaming mode

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* feat: support streaming mode for tool calls

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* feat: add decision with streaming

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-03-15 23:29:27 +01:00