diff --git a/arch/supervisord.conf b/arch/supervisord.conf index df25eea9..f7e374b6 100644 --- a/arch/supervisord.conf +++ b/arch/supervisord.conf @@ -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 diff --git a/crates/brightstaff/src/handlers/agent_chat_completions.rs b/crates/brightstaff/src/handlers/agent_chat_completions.rs index 305d825b..46af6c11 100644 --- a/crates/brightstaff/src/handlers/agent_chat_completions.rs +++ b/crates/brightstaff/src/handlers/agent_chat_completions.rs @@ -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![]); diff --git a/demos/use_cases/rag_agent/arch_config.yaml b/demos/use_cases/rag_agent/arch_config.yaml index 7c95da61..efa03697 100644 --- a/demos/use_cases/rag_agent/arch_config.yaml +++ b/demos/use_cases/rag_agent/arch_config.yaml @@ -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