File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -824,8 +824,7 @@ def llm_server_address(params: LLMAttributesParams) -> ExtractorResponse:
824824 ExtractorResponse: Response containing the server address or 'unknown'
825825 """
826826 return ExtractorResponse (
827- content = getattr (params .invocation_context .agent , "model_api_base" , None )
828- or "unknown"
827+ content = getattr (params .invocation_context .agent , "model_api_base" , "unknown" )
829828 )
830829
831830
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ def record_call_llm(
302302 and invocation_context .run_config .streaming_mode != StreamingMode .NONE
303303 )
304304 server_address = (
305- getattr (invocation_context .agent , "model_api_base" , None ) or "unknown"
305+ getattr (invocation_context .agent , "model_api_base" , "unknown" )
306306 )
307307 attributes = {
308308 "gen_ai_system" : "volcengine" ,
You can’t perform that action at this time.
0 commit comments