Repository navigation
Move the inference engines into nlp-engine, with one prompt dump (closes #3744) - #3755
Merged
Merged
Conversation
Collaborator
Author
Review TypeInitial review of PR #3755 (closes #3744): move the inference engines into Requirements Check
FindingsVerified, no action
Suggested Improvements
Nitpicks
DocsThe uncommitted nodespace-docs changes ( RecommendationAPPROVE. A clean, reviewable move with the integrity gate preserved at every call site and a coherent merged dump. Only the unrun evals/manual turn should be closed out before merge. |
malibio
commented
Oct 12, 2026
malibio
left a comment
Collaborator
Author
There was a problem hiding this comment.
Review verdict: APPROVE (self-approval not permitted by GitHub). Full report posted as a comment. Only the unrun evals and manual local/remote turn should be closed out before merge.
Collaborator
Author
Review responseAddressed
Skipped
|
…bridge and the remote client, with one prompt dump (closes #3744) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
malibio
force-pushed
the
issue-3744-inference-engines-to-nlp-engine
branch
from
October 12, 2026 08:13
bad69bf to
774b38c
Compare
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.
Summary
Moves every way a conversation reaches a model into
nlp-engine: theChatInferenceEngineinterface and its request/response types, the local llama.cpp bridge, the remote OpenAI-compatible client with its discovery, andndjson.agentkeeps the loop, routing, tools and prompts.nlp-enginegainsreqwest/futures/async-trait, imports nothing from the workspace, and compiles with default features off.inference/prompt_dump.rs): one writer, oneseqcounter, the same record shape for both engines (kind,engine,seq,target,sent,sent_len). The per-engine copies are deleted.scripts/prompt-dump.tsread a staleturnformat no engine wrote; it now reads the real records in timeline order, with tests on a mixed local/remote file.agent_typesno longer re-exportsChatMessage/Role/ToolCallRaw.Decisions
model_manager.rsstays inagent.crate-boundaries.mdputs "which engine is loaded, chosen from settings" with the agent, and it owns the digest catalog and downloads.LlamaChatInferenceEngine::loadtakes the pinned digest as an argument (it used to call intomodel_manager, which would makenlp-engineimport fromagent). Callers passexpected_sha256_for_path, so the integrity gate is unchanged, including in the daemon's production load.ModelFamily,ModelInfo,ModelStatus,ModelBackend,ModelErrormoved too, sinceChatModelSpecand discovery use them. TheModelManagertrait stays inagent.ToolDefinitionand the chat engine'sToolSpecare still two identical types; merging them is not a move, so it is left.Test plan
bun run test:changed(rust, scripts, types:check, node-types:check) passescargo check -p nodespace-nlp-engine --no-default-features🤖 Generated with Claude Code