27 Commits

Author SHA1 Message Date
Richard Palethorpe
5698d0b832 chore(tests): Mock LLM in tests for PRs
This saves time when testing on CPU which is the only sensible thing
to do on GitHub CI for PRs. For releases or once the commit is merged
we could use an external runner with GPU or just wait.

Signed-off-by: Richard Palethorpe <io@richiejp.com>
2025-05-12 13:51:45 +01:00
Richard Palethorpe
8abf5512a4 fix(core): Add recursive loop detection and move loop detection (#101)
* fix(core): Add recursive loop detection and move loop detection

Signed-off-by: Richard Palethorpe <io@richiejp.com>

* fix(ci): Free up space after installation to avoid out of space error

Signed-off-by: Richard Palethorpe <io@richiejp.com>

---------

Signed-off-by: Richard Palethorpe <io@richiejp.com>
2025-04-30 13:51:43 +00:00
dependabot[bot]
547e9cd0c4 chore(deps): bump actions/checkout from 2 to 4 (#44)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-24 22:45:29 +02:00
Ettore Di Giacinto
eb8663ada1 feat: local MCP server support (#61)
* wip

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

* Add groups to mcpbox

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

* Add mcpbox dockerfile and entrypoint

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

* Attach mcp stdio box to agent

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

* Add to dockerfile

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

* Attach to config

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

* Attach to ui

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

* Revert "Attach to ui"

This reverts commit 088d0c47e87ee8f84297e47d178fb7384bbe6d45.

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

* add one-time process, attach to UI the mcp server json configuration

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

* quality of life improvements

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

* fixes

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

* Make it working, expose MCP prepare script to UI

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

* Add container image to CI builds

* Wire mcpbox to tests

* Improve setup'

* Not needed anymore, using tests

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

* fix: do not override actions

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

* chore(tests): fix env var

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

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: mudler <mudler@localai.io>
2025-04-24 16:39:20 +02:00
dependabot[bot]
93154a0a27 chore(deps): bump docker/metadata-action (#43)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 2a4836ac76fe8f5d0ee3a0d89aa12a80cc552ad3 to 902fa8ec7d6ecbf8d84d538b9b233a880e428804.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](2a4836ac76...902fa8ec7d)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-version: 902fa8ec7d6ecbf8d84d538b9b233a880e428804
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-16 09:45:22 +02:00
Rene Leonhardt
42590a7371 chore(deps): Update dependencies (#42) 2025-04-16 08:45:53 +02:00
Ettore Di Giacinto
60c249f19a chore: cleanup, identify goal from conversation when evaluting achievement (#29)
* chore: cleanup, identify goal from conversation when evaluting achievement

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

* change base cpu model

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

* this is not necessary anymore

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

* use 12b

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

* use openthinker, it's smaller

* chore(tests): set timeout

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

* Enable reasoning in some of the tests

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

* docker compose unification, small changes

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

* Simplify

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

* Back at arcee-agent as default

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

* Better error handling during planning

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

* Ci: do not run jobs for every branch

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

---------

Signed-off-by: mudler <mudler@localai.io>
2025-04-12 21:01:01 +02:00
Ettore Di Giacinto
4d722c35d3 ci: fix image building branch 2025-04-09 22:53:04 +02:00
Ettore Di Giacinto
2b3f61aed1 Use public runners 2025-04-08 22:19:15 +02:00
Ettore Di Giacinto
e7111c6554 Rename 2025-04-08 22:18:32 +02:00
Ettore Di Giacinto
09559f9ed9 chore(ci): push to localagi (#137)
Signed-off-by: mudler <mudler@localai.io>
2025-04-03 18:29:57 +02:00
Ettore Di Giacinto
05cb8ba2eb ci: add concurrency group for tests 2025-03-28 21:33:14 +01:00
mudler
0e240077ab ci: setup go 2025-03-20 16:36:19 +01:00
mudler
401172631d ci: fixups 2025-03-20 16:09:24 +01:00
mudler
5b8ca0b756 ci: drop docker removal 2025-03-20 16:08:21 +01:00
mudler
8be14b7e3f ci: drop docker removal 2025-03-20 16:07:28 +01:00
mudler
96de3bdddd Relax errors 2025-03-20 16:05:43 +01:00
mudler
56d209f95d Fixups in ci 2025-03-20 16:04:57 +01:00
mudler
169c5e8aad Setup docker in ci 2025-03-20 16:02:55 +01:00
Ettore Di Giacinto
43a46ad1fb Update tests.yml 2025-03-20 13:05:29 +01:00
mudler
2de5152bfd ci: run on self-hosted
Signed-off-by: mudler <mudler@localai.io>
2025-03-20 10:30:16 +01:00
Ettore Di Giacinto
e32a569796 try to fixup tests, enable e2e (#53)
* try to fixup tests, enable e2e

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

* Generate JSON character data with tools

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

* Rework generation of character

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

* Simplify text

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

* Relax some test constraints

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

* Fixups

* Properly fit schema generation

* Swap default model

* ci fixups

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: mudler <mudler@localai.io>
2025-03-18 23:28:02 +01:00
Ettore Di Giacinto
26bcdf72a2 ci: drop arm64 builds for now (too slow, not used) 2025-03-13 22:00:41 +01:00
Ettore Di Giacinto
1e1c123d84 chore(ci): specify Dockerfile 2025-03-05 22:25:32 +01:00
Ettore Di Giacinto
51ba87a7ba chore(ci): specify registry 2025-03-05 22:23:41 +01:00
Ettore Di Giacinto
bf8d8be5ad chore(ci): small fixups 2025-03-05 22:22:10 +01:00
Ettore Di Giacinto
127c76d006 Add workflows for CI 2025-03-05 22:18:02 +01:00