LocalAI/core/schema
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
..
agent_jobs.go feat(agent-jobs): add multimedia support (#7398) 2025-11-30 14:09:25 +01:00
anthropic.go feat: add tool/function calling support to Anthropic Messages API (#7956) 2026-01-10 18:44:22 +01:00
anthropic_test.go feat: add tool/function calling support to Anthropic Messages API (#7956) 2026-01-10 18:44:22 +01:00
backend.go feat: Add backend gallery (#5607) 2025-06-15 14:56:52 +02:00
elevenlabs.go feat: Centralized Request Processing middleware (#3847) 2025-02-10 12:06:16 +01:00
gallery-model.schema.json [gallery] add JSON schema for gallery model specification (#7890) 2026-01-06 22:10:43 +01:00
jina.go fix(reranker): tests and top_n check fix #7212 (#7284) 2025-11-16 17:53:23 +01:00
localai.go feat(watchdog): add Memory resource reclaimer (#7583) 2025-12-16 09:15:18 +01:00
message.go feat(api): support 'reasoning' api field (#7959) 2026-01-10 19:06:12 +01:00
message_test.go feat(llama.cpp): consolidate options and respect tokenizer template when enabled (#7120) 2025-11-07 21:23:50 +01:00
openai.go feat(UI): image generation improvements (#7804) 2025-12-31 21:59:46 +01:00
prediction.go feat: add support to logitbias and logprobs (#7283) 2025-11-16 13:27:36 +01:00
request.go feat: import models via URI (#7245) 2025-11-12 20:48:56 +01:00
schema_suite_test.go feat(llama.cpp): consolidate options and respect tokenizer template when enabled (#7120) 2025-11-07 21:23:50 +01:00
tokenize.go feat: Centralized Request Processing middleware (#3847) 2025-02-10 12:06:16 +01:00
transcription.go feat: Centralized Request Processing middleware (#3847) 2025-02-10 12:06:16 +01:00