mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
log all detected routes when orchestrator returns multiple intents
Made-with: Cursor
This commit is contained in:
parent
73b863f26d
commit
6f4f6062fb
1 changed files with 10 additions and 1 deletions
|
|
@ -195,7 +195,16 @@ impl OrchestratorService {
|
|||
)
|
||||
.await?;
|
||||
|
||||
let result = if let Some(routes) = orchestration_result {
|
||||
let result = if let Some(ref routes) = orchestration_result {
|
||||
if routes.len() > 1 {
|
||||
let all_routes: Vec<&str> = routes.iter().map(|(name, _)| name.as_str()).collect();
|
||||
info!(
|
||||
routes = ?all_routes,
|
||||
using = %all_routes.first().unwrap_or(&"none"),
|
||||
"plano-orchestrator detected multiple intents, using first"
|
||||
);
|
||||
}
|
||||
|
||||
if let Some((route_name, _)) = routes.first() {
|
||||
let top_pref = inline_top_map
|
||||
.as_ref()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue