mirror of
https://github.com/katanemo/plano.git
synced 2026-05-21 13:55:15 +02:00
fix CI: cargo fmt, update reference config to use input_filters
This commit is contained in:
parent
6d58469b82
commit
014c4578a5
3 changed files with 10 additions and 4 deletions
|
|
@ -118,7 +118,13 @@ mod tests {
|
||||||
let headers = HeaderMap::new();
|
let headers = HeaderMap::new();
|
||||||
let request_bytes = serde_json::to_vec(&request).expect("failed to serialize request");
|
let request_bytes = serde_json::to_vec(&request).expect("failed to serialize request");
|
||||||
let result = pipeline_processor
|
let result = pipeline_processor
|
||||||
.process_raw_filter_chain(&request_bytes, &test_pipeline, &agent_map, &headers, "/v1/chat/completions")
|
.process_raw_filter_chain(
|
||||||
|
&request_bytes,
|
||||||
|
&test_pipeline,
|
||||||
|
&agent_map,
|
||||||
|
&headers,
|
||||||
|
"/v1/chat/completions",
|
||||||
|
)
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
println!("Pipeline processing result: {:?}", result);
|
println!("Pipeline processing result: {:?}", result);
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ listeners:
|
||||||
agents:
|
agents:
|
||||||
- id: rag_agent
|
- id: rag_agent
|
||||||
description: virtual assistant for retrieval augmented generation tasks
|
description: virtual assistant for retrieval augmented generation tasks
|
||||||
filter_chain:
|
input_filters:
|
||||||
- input_guards
|
- input_guards
|
||||||
|
|
||||||
# Model listener for direct LLM access
|
# Model listener for direct LLM access
|
||||||
|
|
|
||||||
|
|
@ -30,9 +30,9 @@ listeners:
|
||||||
- address: 0.0.0.0
|
- address: 0.0.0.0
|
||||||
agents:
|
agents:
|
||||||
- description: virtual assistant for retrieval augmented generation tasks
|
- description: virtual assistant for retrieval augmented generation tasks
|
||||||
filter_chain:
|
|
||||||
- input_guards
|
|
||||||
id: rag_agent
|
id: rag_agent
|
||||||
|
input_filters:
|
||||||
|
- input_guards
|
||||||
name: travel_booking_service
|
name: travel_booking_service
|
||||||
port: 8001
|
port: 8001
|
||||||
router: plano_orchestrator_v1
|
router: plano_orchestrator_v1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue