Session infrastructure: OpenRouter + tree-split reducer + observer→LLM Team + scrum_applier #11
@ -1547,8 +1547,15 @@ mod tests {
|
||||
];
|
||||
let p = build_executor_prompt(&req, &[], &log);
|
||||
assert!(p.contains("CANDIDATES SURFACED SO FAR"));
|
||||
assert!(p.contains("W-1 Alice Smith"));
|
||||
assert!(p.contains("Toledo, OH"));
|
||||
// Prompt format deliberately separates name from doc_id now —
|
||||
// the line reads `name="Alice Smith" ... (vector doc_id=W-1)`
|
||||
// so the executor prompt explicitly tells the model NOT to
|
||||
// conflate doc_id with workers_500k.worker_id. Assertion was
|
||||
// expecting the old concatenated format; update to match the
|
||||
// semantic contract (both tokens present, any order).
|
||||
assert!(p.contains("Alice Smith"));
|
||||
assert!(p.contains("W-1"));
|
||||
assert!(p.contains("Toledo"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user