Repository navigation
Conversation
…el type, tool calls, streaming; an attachment a model cannot take is refused by name; a JSON object is a tool call only when it names an offered tool; first GGUF token no longer buffered (work in review, not yet gated)
…e the stream opens and an accepted one starts at once as before; no tools offered means no tool call; structured output on a GGUF honours the thinking setting; template tools opted in for LFM3-1.7B only
…ns at once, also when a shared model is busy); a refused streamed request arrives as a typed error event that Core's own client does not retry; a request stopped while waiting for a busy model never generates
…tream (other servers' events as before); test for a non-streamed call stopped while waiting for a busy model; changelog wording
…etches NLTK data on import); the LFM3 structured-output case skips without llama-cpp-python
…iming bounds only under ABSTRACTCORE_TIMING_STRICT=1); a stream cancelled by a Stop is logged at INFO
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
LFM3-1.7B (Liquid AI's text model) on the MLX route (through mlx-vlm, chosen by the model type in
config.json) and on the GGUF route (llama.cpp): registry entries, prompt format, tool calls, streaming, thinking control, structured output.What changes for every model (not only LFM3)
invalid_request_error/unsupported_feature; a streamed request gets the same as a typed error event at the start of the stream, which Core's own OpenAI-compatible client raises asUnsupportedFeatureErrorand does not retry. The streamed request path itself is unchanged from 2.41.0.unavailable_tool.mlx-vlmfloor raised to 0.7.12 (LFM3 needs it); a clear error names the installed version when it is older.Only LFM3-1.7B is opted in to the GGUF template tool block; LFM3-VL, Omni and Audio and every other family keep the 2.41.0 behaviour.
Tier and checks
Tier F (full): shared code paths.
scripts/ci_local.sh abstractcore --jobs 3 --allow-skippedonb0ea074f: GREEN, 11 pass, 2 skipped (Linux and Windows command sandboxes, which only GitHub runs). Python 3.9 to 3.13, local-model job, build, docs, console-tui crate and MSRV.Not in this change, to do before a release