Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 6 additions & 1 deletion crates/stubs/notebook-query/src/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
use serde::{Deserialize, Serialize};

#[cfg(feature = "planner")]
use lance_graph_planner::api::{Planner, ThinkingStyle, PlanResult};
use lance_graph_planner::api::{Planner, PlanResult};
// ThinkingStyle from its canonical module, not the api re-export — the re-export was
// added to lance-graph after this pin, so importing from `api` breaks the build against
// the pinned lance-graph; `thinking::style` exists in every version.
#[cfg(feature = "planner")]
use lance_graph_planner::thinking::style::ThinkingStyle;

// ── Strategy Self-Check ──────────────────────────────────────────────────────

Expand Down
3 changes: 2 additions & 1 deletion crates/stubs/notebook-query/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ fn run_planner_with_options(
felt_competence: Option<f64>,
demonstrated_competence: Option<f64>,
) -> Option<PlannerInfo> {
use lance_graph_planner::api::{Planner, ThinkingStyle};
use lance_graph_planner::api::Planner;
use lance_graph_planner::thinking::style::ThinkingStyle; // canonical path; api re-export postdates the pin

let planner = Planner::new();

Expand Down