mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
add more changes
This commit is contained in:
parent
c1757bec88
commit
6cfce60501
3 changed files with 8 additions and 7 deletions
|
|
@ -9,7 +9,7 @@ stdout_logfile_maxbytes=0
|
|||
stderr_logfile_maxbytes=0
|
||||
|
||||
[program:envoy]
|
||||
command=/bin/sh -c "python /app/config_generator.py && envsubst < /etc/envoy/envoy.yaml > /etc/envoy.env_sub.yaml && envoy -c /etc/envoy.env_sub.yaml --component-log-level wasm:debug --log-format '[%%Y-%%m-%%d %%T.%%e][%%l] %%v' 2>&1 | tee /var/log//envoy.log"
|
||||
command=/bin/sh -c "python /app/config_generator.py && envsubst < /etc/envoy/envoy.yaml > /etc/envoy.env_sub.yaml && envoy -c /etc/envoy.env_sub.yaml --component-log-level wasm:info --log-format '[%%Y-%%m-%%d %%T.%%e][%%l] %%v' 2>&1 | tee /var/log//envoy.log"
|
||||
stdout_logfile=/dev/stdout
|
||||
redirect_stderr=true
|
||||
stdout_logfile_maxbytes=0
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ pub async fn agent_chat(
|
|||
request.messages = chat_completions_history.clone();
|
||||
|
||||
let request_str = serde_json::to_string(&request).unwrap();
|
||||
debug!("Sending request to agent {}: {}", agent_name, request_str);
|
||||
debug!("Sending request to agent {}", agent_name);
|
||||
|
||||
let mut agent_request_headers = request_headers.clone();
|
||||
agent_request_headers.insert(
|
||||
|
|
@ -224,8 +224,8 @@ pub async fn agent_chat(
|
|||
.unwrap();
|
||||
|
||||
debug!(
|
||||
"Received response from agent {}: {}",
|
||||
agent_name, response_str
|
||||
"Received response from agent {}",
|
||||
agent_name
|
||||
);
|
||||
|
||||
chat_completions_history = serde_json::from_str(response_str.as_str()).unwrap_or(vec![]);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
version: v0.2.0
|
||||
version: v0.3.0
|
||||
|
||||
agents:
|
||||
- name: query_rewriter
|
||||
|
|
@ -26,9 +26,10 @@ listeners:
|
|||
- context_builder
|
||||
- response_generator
|
||||
- name: research_agent
|
||||
description: deep research agent that can perform searches and gather information
|
||||
description: deep research agent to handle complex queries that require fetching information from multiple sources
|
||||
filter_chain:
|
||||
- research_agent
|
||||
- query_rewriter
|
||||
- context_builder
|
||||
- response_generator
|
||||
protocol: openai
|
||||
address: 0.0.0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue