【MR类型】
test: print full outbound LLM and semantic-service requests on 0930
【问题背景】
Field debugging of LLM outbound calls needs the complete request body. The console defaults to WARNING, so DEBUG-only payload keys are invisible on site.
【具体方案】
Call _log_outbound_request before invoke / ainvoke / astream
Log WARNING with method, URL, stream flag, headers, and JSON body
Mask Authorization as Bearer ***; EMPTY key still omits the header
Do not change _resolve_core_endpoint or api_key validation (0930 already uses EMPTY)
Also log full semantic-service outbound request from SemanticServiceClient._request as semantic.request WARNING (method, URL, headers, body; Authorization masked)
【MR类型】
test: print full outbound LLM and semantic-service requests on 0930
【问题背景】
Field debugging of LLM outbound calls needs the complete request body. The console defaults to WARNING, so DEBUG-only payload keys are invisible on site.
【具体方案】
_log_outbound_requestbeforeinvoke/ainvoke/astreamBearer ***; EMPTY key still omits the header_resolve_core_endpointor api_key validation (0930 already uses EMPTY)SemanticServiceClient._requestassemantic.requestWARNING (method, URL, headers, body; Authorization masked)【主要文件】
dataagent/core/managers/llm_manager/llm_client.pytests/ut/llm_manager/test_from_llm_config.pydataagent/actions/tools/semantic_tool/semantic_client.pytests/ut/tools/test_semantic_service_client.py