mirror of
https://github.com/katanemo/plano.git
synced 2026-06-26 15:39:40 +02:00
address pr feedback
This commit is contained in:
parent
b3a19b1df0
commit
e498b41e5b
9 changed files with 13 additions and 17 deletions
|
|
@ -129,7 +129,7 @@ async fn handle_agent_chat(
|
|||
debug!("Terminal agent details: {:?}", terminal_agent);
|
||||
|
||||
let llm_response = pipeline_processor
|
||||
.send_terminal_request(
|
||||
.invoke_upstream_agent(
|
||||
&processed_messages,
|
||||
&chat_completions_request,
|
||||
terminal_agent,
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ impl PipelineProcessor {
|
|||
debug!("Agent details: {:?}", agent);
|
||||
|
||||
let response_content = self
|
||||
.send_agent_request(
|
||||
.send_agent_filter_chain_request(
|
||||
&chat_completions_history,
|
||||
initial_request,
|
||||
agent,
|
||||
|
|
@ -88,7 +88,7 @@ impl PipelineProcessor {
|
|||
}
|
||||
|
||||
/// Send request to a specific agent and return the response content
|
||||
async fn send_agent_request(
|
||||
async fn send_agent_filter_chain_request(
|
||||
&self,
|
||||
messages: &[Message],
|
||||
original_request: &ChatCompletionsRequest,
|
||||
|
|
@ -141,7 +141,7 @@ impl PipelineProcessor {
|
|||
}
|
||||
|
||||
/// Send request to terminal agent and return the raw response for streaming
|
||||
pub async fn send_terminal_request(
|
||||
pub async fn invoke_upstream_agent(
|
||||
&self,
|
||||
messages: &[Message],
|
||||
original_request: &ChatCompletionsRequest,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue