address pr feedback

This commit is contained in:
Adil Hafeez 2025-10-13 15:16:37 -07:00
parent b3a19b1df0
commit e498b41e5b
9 changed files with 13 additions and 17 deletions

View file

@ -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,

View file

@ -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,