Commit Graph

365 Commits

Author SHA1 Message Date
Ettore Di Giacinto
e90c192063 feat(call_agents): merge metadata of results (#126)
* feat(call_agents): merge metadata of results

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

* chore: correct env typo

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

* Update services/actions/callagents.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: add icon to thinking

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-01 21:57:32 +02:00
Richard Palethorpe
53d135bec9 chore(ui): Move zombie UI to old 2025-04-01 17:25:04 +01:00
Richard Palethorpe
99e0011920 Revert "chore(ui): Nuke original web UI, in favor of React"
This reverts commit 86cb9f1282.
2025-04-01 17:25:04 +01:00
Richard Palethorpe
5023bc77f4 feat(ui): Add custom action config meta data 2025-04-01 17:25:04 +01:00
Richard Palethorpe
a5ba49ec93 fix(ui): rm broken status message (it's in the button already) 2025-04-01 17:25:04 +01:00
Ettore Di Giacinto
f3c06b1bfb feat(api): implement stateful responses api (#122)
* feat(api): implement stateful responses api

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

* fix(tests): align client to API changes

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

---------

Signed-off-by: mudler <mudler@localai.io>
2025-04-01 18:00:37 +02:00
Richard Palethorpe
86cb9f1282 chore(ui): Nuke original web UI, in favor of React 2025-04-01 14:36:33 +01:00
Richard Palethorpe
d8cf5b419b Update README with new API paths 2025-04-01 14:36:33 +01:00
Richard Palethorpe
bb4459b99f chore: Add alternate bin name to .gitignore 2025-04-01 14:36:33 +01:00
Richard Palethorpe
ab3e6ae3c8 fix(ui): Fix SSE in chat 2025-04-01 14:36:33 +01:00
Richard Palethorpe
1f8c601795 fix(ui): Format item type label when it contians underscore 2025-04-01 14:36:33 +01:00
Richard Palethorpe
f70985362d chore(ui): Remove original UI/API routes 2025-04-01 14:36:33 +01:00
Richard Palethorpe
cafaa0e153 feat(ui): Add dynamic prompt config 2025-04-01 14:36:33 +01:00
Richard Palethorpe
491354280b feat(ui): Add dynamic prompt config 2025-04-01 14:36:33 +01:00
Richard Palethorpe
4c40e47e8d chore(prompts): Rename Prompt blocks to Dynamic prompts 2025-04-01 14:36:33 +01:00
Richard Palethorpe
045fb1f8d6 fix(ui): Remove infinite animations due to high CPU usage 2025-04-01 14:36:33 +01:00
Richard Palethorpe
8e703c0ac2 fix(ui): Loading .env 2025-04-01 14:36:33 +01:00
Richard Palethorpe
29beee6057 fix(ui): SSE in React chat 2025-04-01 14:36:33 +01:00
Richard Palethorpe
d672842a81 chore(ui): Add .vscode to gitignore 2025-04-01 14:36:33 +01:00
Richard Palethorpe
45078e1fa7 fix(ui): Re-add Chat 2025-04-01 14:36:33 +01:00
Richard Palethorpe
c96c8d8009 fix(ui): Various 2025-04-01 14:36:33 +01:00
Richard Palethorpe
11231f23ea feat(ui): Button appearance change 2025-04-01 14:36:33 +01:00
Ettore Di Giacinto
c1dcda42ae fix: re-enable nested plannings (#117)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-03-30 22:18:15 +02:00
Ettore Di Giacinto
7b52b9c22d fix(slack): support multiple threads update (#115)
Signed-off-by: mudler <mudler@localai.io>
2025-03-30 19:20:41 +02:00
Ettore Di Giacinto
dff678fc4e feat(job): add finalizers and save conversation after job is result is released (#114)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-03-30 18:43:28 +02:00
mudler
e0703cdb7c chore(tests): extend timeout for client
Signed-off-by: mudler <mudler@localai.io>
2025-03-30 18:42:35 +02:00
Ettore Di Giacinto
c940141e61 fix: make new_conversation to work (#112)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-03-29 00:21:00 +01:00
Ettore Di Giacinto
5fdd464fad Improve plan description 2025-03-28 22:16:12 +01:00
Ettore Di Giacinto
68cfdecaee Do not delete message in case of error 2025-03-28 22:11:43 +01:00
Ettore Di Giacinto
906b4ebd76 feat: add retries to pickAction
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-03-28 22:04:04 +01:00
Ettore Di Giacinto
05cb8ba2eb ci: add concurrency group for tests 2025-03-28 21:33:14 +01:00
Ettore Di Giacinto
0644daa477 feat: retrials (#110)
* feat(jobs): rework next actions

Also attempt to retry when failing at generating parameters

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

* feat(retries): add retries for common operations

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

---------

Signed-off-by: mudler <mudler@localai.io>
2025-03-28 21:27:34 +01:00
mudler
62940a1a56 fix: add a tab when listing agents
Signed-off-by: mudler <mudler@localai.io>
2025-03-28 18:40:40 +01:00
mudler
c6ce1c324f feat(slack): respond to channel only on channel mode
Signed-off-by: mudler <mudler@localai.io>
2025-03-28 17:01:24 +01:00
mudler
383fc1d0f4 fix(multi-agent): small fixes
Signed-off-by: mudler <mudler@localai.io>
2025-03-28 16:55:08 +01:00
mudler
8ac6f68568 fix(multi-agent): do not allow to call ourselves
Signed-off-by: mudler <mudler@localai.io>
2025-03-28 16:51:07 +01:00
mudler
05af5d9695 Use internal API for services/actions when using the pool
Signed-off-by: mudler <mudler@localai.io>
2025-03-28 16:12:42 +01:00
mudler
2c273392cd add debug messages 2025-03-28 15:31:26 +01:00
Ettore Di Giacinto
08f5417e96 go fmt 2025-03-27 23:06:33 +01:00
Ettore Di Giacinto
f67ebe8c7a Update agent.go 2025-03-27 00:15:52 +01:00
Ettore Di Giacinto
6ace4ab60d Expire jobs if context is canceled 2025-03-27 00:13:26 +01:00
Richard Palethorpe
319caf8e91 chore(ui): Move some field definitions server side 2025-03-26 22:56:29 +00:00
Richard Palethorpe
7fb99ecf21 chore(ui): Reuse FormFieldDefinition on other parts of AgentForm 2025-03-26 22:56:29 +00:00
Richard Palethorpe
d520d88301 feat(ui): Add required indicator to form field 2025-03-26 22:56:29 +00:00
Richard Palethorpe
4dcc77372d chore(ui): Refactor action and connector form fields into single component 2025-03-26 22:56:29 +00:00
Ettore Di Giacinto
0f2731f9e8 fix(actions): respect running context
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-03-26 22:58:52 +01:00
Ettore Di Giacinto
6e888f6008 Move action context to the job
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-03-26 22:37:25 +01:00
mudler
2713349c75 debug 2025-03-26 18:26:31 +01:00
mudler
b6cd62a8a3 Merge branch 'fixups/mixed' 2025-03-26 17:11:38 +01:00
mudler
dd6739cbbf fix: consistently track user message in connector
Signed-off-by: mudler <mudler@localai.io>
2025-03-26 17:11:09 +01:00