Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
e084e38
Learn a deeper recurrent checkpoint after a short rewind
joelteply Nov 19, 2026
e730ea7
Estimate waiting prefill once per eligible turn
joelteply Nov 20, 2026
9333856
Schedule overdue resident turns at landed frame boundaries
joelteply Nov 20, 2026
4341d3c
Represent resident readiness and service timing explicitly
joelteply Nov 20, 2026
082236b
Retain the earliest valid learned checkpoint across deeper captures
joelteply Nov 20, 2026
8dfd786
Keep native checkpoint custody in resident history
joelteply Nov 20, 2026
9403533
Express history transfer and checkpoint basis ownership
joelteply Nov 20, 2026
b9b60cb
Compare token history once when binding a resident
joelteply Nov 20, 2026
e8cadfb
Merge pull request #6184 from CambrianTech/codex/token-history-compar…
joelteply Nov 20, 2026
e74505c
Merge pull request #6182 from CambrianTech/codex/native-checkpoint-owner
joelteply Nov 20, 2026
bb5af61
Merge pull request #6181 from CambrianTech/codex/retain-prefix-checkp…
joelteply Nov 20, 2026
6553432
Correlate empty native turns with their requested tool catalog
joelteply Nov 20, 2026
82a5cad
Group native generation output in the empty-turn probe
joelteply Nov 20, 2026
ad2075c
Pin the deployed Qwen argument-order parser
joelteply Nov 20, 2026
30b78d9
Merge pull request #6185 from CambrianTech/codex/native-empty-turn-re…
joelteply Nov 20, 2026
1af6ffd
Retain one-off native state only while its turn owns it
joelteply Nov 20, 2026
2bbc969
Merge pull request #6186 from CambrianTech/codex/qwen-call-order-pin
joelteply Nov 20, 2026
3a59d95
Resolve retiring native state before recording suspend inventory
joelteply Nov 20, 2026
6404cf3
Report every resident held when suspend cannot preserve the node
joelteply Nov 20, 2026
4bcddd2
Merge pull request #6187 from CambrianTech/codex/one-off-owner-lifetime
joelteply Nov 20, 2026
2516c28
Merge pull request #6180 from CambrianTech/codex/resident-frame-service
joelteply Nov 20, 2026
115426f
Give the requesting task ownership of its submitted inference turn
joelteply Nov 20, 2026
c2ee2b9
Remove blocking generation wrapper from the native backend
joelteply Nov 20, 2026
db3cbff
Enqueue flow work on submission and trace native worker parking
joelteply Nov 20, 2026
838eeea
Merge pull request #6192 from CambrianTech/codex/m5-request-owned-turn
joelteply Nov 20, 2026
70850aa
Skip candidate ranking when only one turn can run
joelteply Nov 20, 2026
6d6436d
Wake one shared stage when a resident phenotype changes
joelteply Nov 20, 2026
785b748
Close cancelled stage intake and rearm residency on its next wake
joelteply Nov 20, 2026
cd6587e
Merge pull request #6195 from CambrianTech/codex/m5-single-ready-sele…
joelteply Nov 20, 2026
9344d76
Preserve the gene residency scheduling contract for existing callers
joelteply Nov 20, 2026
c8b61e1
Surface native checkpoint capture and rewind outcomes
joelteply Nov 20, 2026
9655d20
Merge pull request #6196 from CambrianTech/codex/gene-residency-worker
joelteply Nov 20, 2026
630955a
Attribute checkpoint allocation and capture failures to the resident
joelteply Nov 20, 2026
07ceb73
Borrow each prefill slice until submission and history update
joelteply Nov 20, 2026
c41f2ef
Merge pull request #6198 from CambrianTech/codex/native-checkpoint-ou…
joelteply Nov 20, 2026
e1f8285
Merge pull request #6199 from CambrianTech/codex/borrow-prefill-chunk
joelteply Nov 20, 2026
d3f2452
A turn's path from entry to the engine reports every transition it re…
joelteply Nov 21, 2026
56913f6
Transitions per Codex's review of d3f24526ab: one entry origin, frame…
joelteply Nov 21, 2026
dc29fa8
Merge pull request #6207 from CambrianTech/fable/admission-receipt
joelteply Nov 21, 2026
c4e6ff8
The Core runs a turn to its end: no slicing (Joel, 2026-11-21: "you d…
joelteply Nov 21, 2026
ad41267
A finished turn's row carries its request id, so completions join the…
joelteply Nov 21, 2026
ce8a894
Every admitted turn ends in one terminal record; the four TurnPrompt …
joelteply Nov 21, 2026
8e597e1
One owner ends every admitted turn: answered, refused, stopping or cl…
joelteply Nov 21, 2026
67abfaa
A stop waits only on its own records and says whether they were writt…
joelteply Nov 21, 2026
6505cb4
A replay can be served as the resident herself, so it runs as realist…
joelteply Nov 21, 2026
2f7fc55
Replay: say what a resident replay changes (her native KV and the che…
joelteply Nov 21, 2026
e61b5cf
A refused decode reports what the engine held; replay identity is a d…
joelteply Nov 21, 2026
6d1b666
The Core refuses at the door a prompt its stream cannot hold, with th…
joelteply Nov 21, 2026
60a6180
Record native persona tier dependencies in the workspace lockfile
joelteply Nov 21, 2026
162fbe5
Merge pull request #6209 from CambrianTech/fable/realistic-replay
joelteply Nov 21, 2026
8f386fb
Answer the #6208 review: no starving tie, no answer end lost at close…
joelteply Nov 21, 2026
8c7d4f1
Shutdown never closes a stage's intake: the ends a closing driver han…
joelteply Nov 21, 2026
598c1ca
Merge pull request #6208 from CambrianTech/fable/run-to-end
joelteply Nov 21, 2026
391ca2f
Fit native context memory to the physical stream layout
joelteply Nov 21, 2026
676515b
Merge pull request #6210 from CambrianTech/codex/native-stream-pool-fit
joelteply Nov 21, 2026
ab7c9cc
Give overdue turns priority at the next scheduling boundary
joelteply Nov 21, 2026
9dff3fb
Document the interactive wait threshold used at turn boundaries
joelteply Nov 21, 2026
aee18cc
Merge pull request #6211 from CambrianTech/codex/fair-turn-boundaries
joelteply Nov 21, 2026
3e10f93
Merge pull request #6179 from CambrianTech/codex/frame-prefill-estimate
joelteply Nov 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions core/continuum-base/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ pub mod non_empty_list;
pub mod non_empty_text;
pub mod probe;
pub mod probed;
pub mod probe_writes;
pub mod repo_id;
pub mod reserved_rooms;
pub mod secrets;
Expand Down
43 changes: 43 additions & 0 deletions core/continuum-base/src/probe_writes.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
//! How many probe records a log sink failed to write, process-wide. A sink never fails its caller
//! over a write it could not make (a probe is telemetry), so it counts the failure here instead of
//! dropping it silently, and a reader that claims records reached the log (a stop's settle) states
//! how many writes failed in its window (Codex on #6208 at 162fbe5fa7: "written" confirmed only
//! that the tracing callbacks returned).

use std::sync::atomic::{AtomicU64, Ordering};

static FAILED: AtomicU64 = AtomicU64::new(0);

/// A probe record a sink could not write (serialize, lock, write or flush).
pub fn count_failure() {
FAILED.fetch_add(1, Ordering::Relaxed);
}

/// The failures counted so far, read at one moment.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Reading(u64);

impl Reading {
pub fn now() -> Self {
Self(FAILED.load(Ordering::Relaxed))
}

/// Failures counted between `earlier` and this reading.
pub fn since(self, earlier: Self) -> u64 {
self.0.saturating_sub(earlier.0)
}
}

#[cfg(test)]
mod tests {
use super::*;

// what this catches: a failed probe write that no later reading can see.
#[test]
fn a_counted_failure_shows_in_the_next_reading() {
let before = Reading::now();
count_failure();
assert!(Reading::now().since(before) >= 1);
assert_eq!(before.since(Reading::now()), 0, "an earlier reading never goes negative");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
let bound = std::time::Duration::from_secs(1500);
let start = tokio::time::Instant::now();
let dispatched = super::until_act_stalls(start + bound, bound, None, async {
let _witness = crate::cognition::generation_drop::InFlight::arm("Eitan", None, None);
let _witness = crate::cognition::generation_drop::InFlight::arm("Eitan", None, None, None);
std::future::pending::<()>().await
})
.await;
Expand Down Expand Up @@ -306,7 +306,7 @@
true
}
async fn contribute(&self, _ws: &Workspace) -> Option<Contribution> {
let _witness = crate::cognition::generation_drop::InFlight::arm("Eitan", None, None);
let _witness = crate::cognition::generation_drop::InFlight::arm("Eitan", None, None, None);
std::future::pending().await
}
}
Expand Down Expand Up @@ -376,7 +376,7 @@
let start = tokio::time::Instant::now();
let condemned = async { tokio::time::sleep(std::time::Duration::from_secs(120)).await };
let ended = super::until_act_stalls_or(start + bound, bound, None, async {
let _witness = crate::cognition::generation_drop::InFlight::arm("Eitan", None, None);
let _witness = crate::cognition::generation_drop::InFlight::arm("Eitan", None, None, None);
std::future::pending::<()>().await
}, condemned)
.await;
Expand Down
5 changes: 5 additions & 0 deletions core/continuum-cognition/src/cognition/generation_drop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ pub(crate) fn partial_from_chunks(
/// receipt is written.
pub(crate) struct InFlight {
persona: String,
/// The adapter request this generation was submitted as: the id the engine's transitions carry.
request: Option<String>,
/// The bound this turn STATED for itself on the wire — her measured expectation with
/// headroom ([`crate::inference::turn_bound::from_expectation`]). A generation dropped
/// while still inside it was healthy work, and the bound that reaped it (an outer act
Expand All @@ -117,6 +119,7 @@ impl InFlight {
/// adapter, when this caller owns it.
pub fn arm(
persona: &str,
request: Option<&str>,
turn_bound: Option<Duration>,
chunks: Option<UnboundedReceiver<GenerationChunk>>,
) -> Self {
Expand All @@ -125,6 +128,7 @@ impl InFlight {
crate::cognition::llm_deliberation_faculty::admission_clock::note_dispatched();
Self {
persona: persona.to_string(),
request: request.map(str::to_owned),
turn_bound,
started: Instant::now(),
chunks,
Expand Down Expand Up @@ -170,6 +174,7 @@ impl Drop for InFlight {
let act = crate::cognition::llm_deliberation_faculty::admission_clock::current_act();
continuum_base::probe!(
class = "persona.generation.dropped",
request = ?self.request,
persona = %self.persona,
turn = ?act.map(|a| a.turn),
step = ?act.map(|a| a.step),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ impl LlmDeliberationFaculty {
// the chunks and reports `observed = false` rather than a false zero.
let mut witness = crate::cognition::generation_drop::InFlight::arm(
&self.persona_name,
Some(&request_id),
turn_bound,
None,
);
Expand All @@ -252,6 +253,7 @@ impl LlmDeliberationFaculty {
// healthy path — the accumulate still comes from the returned response.
let mut witness = crate::cognition::generation_drop::InFlight::arm(
&self.persona_name,
Some(&request_id),
turn_bound,
Some(receiver),
);
Expand Down
46 changes: 42 additions & 4 deletions core/continuum-cognition/src/cognition/request_replay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,26 @@ pub struct ReplayRequestParams {
#[serde(default)]
#[ts(optional)]
pub tool_schema_override: Option<ToolSchemaOverride>,
/// Which mind the engine serves the replay as. `isolated` (the default) is a stranger with
/// no cached state; `resident` is the source persona herself, so her parked blocks are reused
/// as her next live turn would reuse them. Either way the replay's capture is owned by a
/// separate replay identity, so a replay never enters her history or her learning.
#[serde(default)]
pub identity: ReplayIdentity,
}

/// Which mind the engine serves a replay as.
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, Serialize, Deserialize, TS, JsonSchema)]
#[serde(rename_all = "snake_case")]
pub enum ReplayIdentity {
/// A fresh mind with nothing cached: a cold turn.
#[default]
Isolated,
/// The source persona's own mind: her parked blocks are reused as live. It changes her native
/// KV cache (and the checkpoint a stop saves from it), never her memory, history or learning.
/// Interleaving with her live loop is safe (one serial queue per mind, reuse checked against the
/// prompt) but spoils a measurement, so hold and despawn her first.
Resident,
}

#[derive(Debug, Clone, Serialize, Deserialize, TS, JsonSchema)]
Expand Down Expand Up @@ -89,6 +109,8 @@ impl From<&TextGenerationResponse> for ReplayOutcome {
pub struct ReplayRequestResult {
/// Separate capture owner/cache identity. Inspect it with cognition/playback.
pub replay_persona_id: String,
/// Which mind the engine served it as: `isolated` (cold) or `resident` (her own parked blocks).
pub identity: ReplayIdentity,
/// Submission cursor; list this replay identity to inspect its terminal event.
pub selected: String,
pub source_persona_id: String,
Expand Down Expand Up @@ -221,6 +243,8 @@ struct Provenance {
model_from_response: bool,
persona: Uuid,
cursor: String,
/// Which mind the engine served the replay as.
identity: ReplayIdentity,
}

impl Provenance {
Expand Down Expand Up @@ -281,13 +305,18 @@ fn prepare(
let replay = Uuid::new_v4();
let room = Uuid::new_v4();
let request_id = Uuid::new_v4().to_string();
// Fresh identity isolates KV ownership. Prompt/model/genome/sampling remain recorded.
request.persona_id = Some(replay.to_string());
// The capture is always owned by the fresh replay identity, so a replay never enters her
// history or learning. The engine serves it as a stranger (cold) or as her own mind (warm).
let served_as = match p.identity {
ReplayIdentity::Isolated => replay,
ReplayIdentity::Resident => persona,
};
request.persona_id = Some(served_as.to_string());
request.room_id = Some(room.to_string());
request.request_id = Some(request_id.clone());
request.provider = Some(p.provider.clone());
request.purpose = Some("cognition/replay-request".into());
let provenance = Provenance { input_comparison, model_from_response, persona, cursor: p.selected.clone() };
let provenance = Provenance { input_comparison, model_from_response, persona, cursor: p.selected.clone(), identity: p.identity };
Ok(Prepared {
request,
call: PromptCall {
Expand All @@ -312,7 +341,7 @@ fn prepare(
impl ActionCommand for CognitionReplayRequest {
const NAME: &'static str = "cognition/replay-request";
const ACCESS: AccessLevel = AccessLevel::Privileged;
const DESCRIPTION: &'static str = "Rerun a captured model request with optional max_tokens override, hash-bound collapsed-receipt omission, or one named tool schema override, using an explicit provider and isolated cache identity. Records original provenance and new lifecycle; returns outcome comparison. Never dispatches tool calls or changes live persona memory. Fresh inference, not deterministic full-mind replay.";
const DESCRIPTION: &'static str = "Rerun a captured model request with optional max_tokens override, hash-bound collapsed-receipt omission, or one named tool schema override, using an explicit provider, served as a fresh mind (identity isolated, cold) or as the source persona herself (identity resident, her parked blocks reused); the capture is always owned by a separate replay identity. Records original provenance and new lifecycle; returns outcome comparison. Never dispatches tool calls or writes her memory, history or learning; a resident replay does change her native KV cache and the checkpoint a stop saves from it, so a measuring run snapshots and restores her preserved blocks. Fresh inference, not deterministic full-mind replay.";
type Params = ReplayRequestParams;
type Output = ReplayRequestResult;

Expand Down Expand Up @@ -383,6 +412,7 @@ async fn execute(
capture.finish(Some(&response), None);
Ok(ReplayRequestResult {
replay_persona_id: replay_persona.to_string(),
identity: provenance.identity,
selected,
source_persona_id: provenance.persona.to_string(),
source_selected: provenance.cursor,
Expand Down Expand Up @@ -465,6 +495,7 @@ mod tests {
omit_message_indices: Vec::new(),
expected_request_sha256: None,
tool_schema_override: None,
identity: ReplayIdentity::Isolated,
};
let read =
|| prompt_capture::detail(dir.path(), persona, &cursor).expect("original capture");
Expand All @@ -490,6 +521,13 @@ mod tests {
"all prompt/model/genome/sampling fields stay captured"
);
assert_eq!(prepared.original_max_tokens, Some(16_384));
// what this catches: a resident replay served as a stranger (cold, unlike her live turn), or
// its capture written as hers (a replay entering her history and learning).
let resident = ReplayRequestParams { identity: ReplayIdentity::Resident, ..p.clone() };
let served = prepare(read(), &resident, persona).expect("prepare resident replay");
assert_eq!(served.request.persona_id.as_deref(), Some(persona.to_string().as_str()), "a resident replay is served as her own mind");
assert_ne!(served.call.persona_id, persona, "its capture is still owned by a separate replay identity");
assert_eq!(served.provenance.identity, ReplayIdentity::Resident);
// A diagnostic changes only named historical pointers, never tool protocol or settings.
let mut diagnostic = request.clone();
let wm = crate::cognition::working_memory::WorkingMemory::new(8);
Expand Down
23 changes: 17 additions & 6 deletions core/continuum-core/tests/llamacpp_metal_throughput.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//! Marked #[ignore] because it requires the qwen3.5-4b GGUF file at the DMR
//! path, takes 10-30s, and isn't part of the regular CI test loop.

use continuum_core::inference::backends::llamacpp::GenerationAllocation;
use continuum_core::inference::backends::llamacpp::{GenerationAllocation, TurnPrompt};
use continuum_core::inference::backends::llamacpp::{LlamaCppBackend, LlamaCppConfig};
use continuum_core::inference::backends::SamplingConfig;
use llama::FlashAttn;
Expand Down Expand Up @@ -80,9 +80,9 @@ fn qwen35_08b_draft_path() -> Option<PathBuf> {
None
}

#[test]
#[tokio::test]
#[ignore = "requires local GGUF + 10-30s; run manually with --ignored --nocapture"]
fn qwen35_4b_metal_throughput_via_bundled_llamacpp() {
async fn qwen35_4b_metal_throughput_via_bundled_llamacpp() {
let model_path = qwen35_4b_target_path();
if !model_path.exists() {
panic!(
Expand Down Expand Up @@ -129,7 +129,13 @@ fn qwen35_4b_metal_throughput_via_bundled_llamacpp() {
eprintln!("[smoke] warm-up generation (10 tokens)...");
let warm_start = Instant::now();
let warm_result = backend
.generate(GenerationAllocation::new(std::num::NonZeroU32::new(32768).expect("explicit test allocation")), "Reply OK.", 10, SamplingConfig::chat(), &[], &[])
.submit_for_persona(
GenerationAllocation::new(std::num::NonZeroU32::new(32768).expect("explicit test allocation")),
None,
TurnPrompt { text: "Reply OK.", stable_prefix: None, request: None }, 10, SamplingConfig::chat(), &[], &[])
.expect("submit test turn")
.collect()
.await
.expect("warm-up generate failed");
eprintln!(
"[smoke] warm-up: {} tokens in {}ms ({:.1} tok/s) — text={:?}",
Expand All @@ -143,13 +149,18 @@ fn qwen35_4b_metal_throughput_via_bundled_llamacpp() {
eprintln!("[smoke] measurement generation (100 tokens)...");
let gen_start = Instant::now();
let (text, tokens) = backend
.generate(GenerationAllocation::new(std::num::NonZeroU32::new(32768).expect("explicit test allocation")),
"Count from 1 to 50, separated by commas.",
.submit_for_persona(
GenerationAllocation::new(std::num::NonZeroU32::new(32768).expect("explicit test allocation")),
None,
TurnPrompt { text: "Count from 1 to 50, separated by commas.", stable_prefix: None, request: None },
100,
SamplingConfig::chat(),
&[],
&[],
)
.expect("submit test turn")
.collect()
.await
.expect("measurement generate failed");
let elapsed_secs = gen_start.elapsed().as_secs_f64();
let tokens_per_sec = tokens as f64 / elapsed_secs;
Expand Down
27 changes: 19 additions & 8 deletions core/continuum-core/tests/qwen35_chat_pipeline_full.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// unit tests are the windows-supported surface today.
#![cfg(unix)]

use continuum_core::inference::backends::llamacpp::GenerationAllocation;
use continuum_core::inference::backends::llamacpp::{GenerationAllocation, TurnPrompt};
use continuum_core::inference::backends::llamacpp::{LlamaCppBackend, LlamaCppConfig};
use continuum_core::inference::backends::{SamplingConfig, JSON_GRAMMAR};
use llama::{render_chat, ChatMsg, FlashAttn};
Expand All @@ -33,9 +33,9 @@ fn model_path() -> std::path::PathBuf {

const CHATML: &str = "{% for message in messages %}{{ '<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>\n' }}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}";

#[test]
#[tokio::test]
#[ignore = "requires local GGUF; cargo test --release --test qwen35_chat_pipeline_full -- --ignored --nocapture"]
fn qwen35_persona_style_chat_produces_coherent_short_reply() {
async fn qwen35_persona_style_chat_produces_coherent_short_reply() {
// n_gpu_layers honors QWEN35_N_GPU_LAYERS env var (default -1 = all on GPU).
// Set QWEN35_N_GPU_LAYERS=0 for CPU-only inference. Needed on Intel Macs
// with discrete AMD Metal devices where the SSM-hybrid qwen35 Metal
Expand Down Expand Up @@ -93,7 +93,13 @@ fn qwen35_persona_style_chat_produces_coherent_short_reply() {
// model produced correct '12 × 7 = 84' inside <think> but never
// reached the visible-text phase before max_tokens.
let (text, n_tokens) = backend
.generate(GenerationAllocation::new(std::num::NonZeroU32::new(context_length).expect("explicit test allocation")), &prompt, 2500, sampling, &stop, &[])
.submit_for_persona(
GenerationAllocation::new(std::num::NonZeroU32::new(context_length).expect("explicit test allocation")),
None,
TurnPrompt { text: &prompt, stable_prefix: None, request: None }, 2500, sampling, &stop, &[])
.expect("submit test turn")
.collect()
.await
.expect("generate");

eprintln!("[full] tokens={n_tokens} text={text:?}");
Expand Down Expand Up @@ -127,9 +133,9 @@ fn qwen35_persona_style_chat_produces_coherent_short_reply() {
);
}

#[test]
#[tokio::test]
#[ignore = "requires local GGUF; cargo test --release --test qwen35_chat_pipeline_full -- --ignored --nocapture"]
fn qwen35_scheduler_json_grammar_returns_object() {
async fn qwen35_scheduler_json_grammar_returns_object() {
let backend = LlamaCppBackend::load(LlamaCppConfig {
model_path: PathBuf::from(model_path()),
n_gpu_layers: -1,
Expand Down Expand Up @@ -160,13 +166,18 @@ fn qwen35_scheduler_json_grammar_returns_object() {
};

let (text, n_tokens) = backend
.generate(GenerationAllocation::new(std::num::NonZeroU32::new(32768).expect("explicit test allocation")),
&prompt,
.submit_for_persona(
GenerationAllocation::new(std::num::NonZeroU32::new(32768).expect("explicit test allocation")),
None,
TurnPrompt { text: &prompt, stable_prefix: None, request: None },
128,
sampling,
&["<|im_end|>", "<|endoftext|>"],
&[],
)
.expect("submit test turn")
.collect()
.await
.expect("generate");

eprintln!("[json-grammar] tokens={n_tokens} text={text:?}");
Expand Down
2 changes: 1 addition & 1 deletion core/continuum-engine/src/inference/backends/llamacpp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use crate::runtime;
mod validate_embedding_model;
pub use validate_embedding_model::*;
mod llama_cpp_backend;
pub use llama_cpp_backend::TurnPrompt;
pub use llama_cpp_backend::{TurnAnswer, TurnPrompt};
mod embedding_lane;
mod embedding_batch;
pub(crate) use embedding_batch::{ContextBytes, EmbedWindow, EmbeddingBatch, NO_TRAINED_CONTEXT};
Expand Down
Loading
Loading