LocalAI/core/http/endpoints
Ettore Di Giacinto c88074a19e
feat(api): support 'reasoning' api field (#7959)
This PR adds support to support the 'reasoning' API field of the OpenAI
spec.

LocalAI now will extract automatically thinking tags in both SSE and
non-SSE mode. The changes are adapted as well to the Chat UI now that
will use the reasoning field to extract the thinking process and display
it in the chat.

This fixes https://github.com/mudler/LocalAI/issues/7944

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-01-10 19:06:12 +01:00
..
anthropic feat: add tool/function calling support to Anthropic Messages API (#7956) 2026-01-10 18:44:22 +01:00
elevenlabs chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
explorer feat: migrate to echo and enable cancellation of non-streaming requests (#7270) 2025-11-14 22:57:53 +01:00
jina chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
localai fix: Highly inconsistent agent response to cogito agent calling MCP server - Body "Invalid http method" (#7790) 2026-01-03 15:43:23 +01:00
mcp chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
openai feat(api): support 'reasoning' api field (#7959) 2026-01-10 19:06:12 +01:00