1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// crates/lc/src/agents/tests.rs
//! Facade-level smoke tests: lock the "default main path" — a new user builds
//! an agent from the single `langchainrust` crate via the re-exported
//! [`AgentBuilder`](crate::AgentBuilder) with the documented 3-line fluent form.
//!
//! These sit at the facade (`crates/lc`) rather than inside `lc-agents` because
//! they verify the *canonical entry point*: that every piece the 3-line default
//! path needs (builder, an LLM, a tool) is reachable from the unified crate root,
//! not merely from inside the domain crate. If this test breaks, "how do I make
//! an agent?" loses its one obvious answer.
use crateAgentBuilder;
use Calculator;