LocalAI/core/http
Ettore Di Giacinto 679d43c2f5
feat: respect context and add request cancellation (#7187)
* feat: respect context

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

* workaround fasthttp

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

* feat(ui): allow to abort call

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

* Refactor

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

* chore: improving error

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

* Respect context also with MCP

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

* Tie to both contexts

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

* Make detection more robust

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

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2025-11-09 18:19:19 +01:00
..
endpoints feat: respect context and add request cancellation (#7187) 2025-11-09 18:19:19 +01:00
middleware feat: respect context and add request cancellation (#7187) 2025-11-09 18:19:19 +01:00
routes feat(api): OpenAI video create enpoint integration (#6777) 2025-10-27 10:06:57 +01:00
static feat: respect context and add request cancellation (#7187) 2025-11-09 18:19:19 +01:00
utils feat(ui): path prefix support via HTTP header (#4497) 2025-01-07 17:18:21 +01:00
views feat: respect context and add request cancellation (#7187) 2025-11-09 18:19:19 +01:00
app.go feat(ui): use Alpine.js and drop HTMX (#6418) 2025-10-09 22:37:06 +02:00
app_test.go feat: Add Agentic MCP support with a new chat/completion endpoint (#6381) 2025-10-05 17:51:41 +02:00
explorer.go feat: rebrand - LocalAGI and LocalRecall joins the LocalAI stack family (#5159) 2025-04-15 17:51:24 +02:00
http_suite_test.go fix(llama-cpp): correctly calculate embeddings (#6259) 2025-09-13 23:11:54 +02:00
openai_mapping_test.go feat(api): OpenAI video create enpoint integration (#6777) 2025-10-27 10:06:57 +01:00
openai_videos_test.go feat(api): OpenAI video create enpoint integration (#6777) 2025-10-27 10:06:57 +01:00
render.go feat(ui): path prefix support via HTTP header (#4497) 2025-01-07 17:18:21 +01:00