mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-12-18 19:32:21 -06:00
Copybara import of the project:
-- b781880d9bfb9786bd5e50314eaedc441fc2a93e by Stephen Smith <stephen.smith@newfront.com>: Telemetry unit test for non-serializable data. -- 179da9db997bb3f992e126c9c64193ff7df67b3d by Stephen Smith <stephen.smith@newfront.com>: When converting the llm_request to JSON, skip non-serializable data. -- 5dc68f4f5a6d12b753fdb81d1449716d13490afb by Stephen Smith <stephen.smith@newfront.com>: Update _create_invocation_context() return type to InvocationContext. -- 23a33f754409fcd2a7641098d68cef7e4f1c72c6 by Stephen Smith <stephen.smith@newfront.com>: Oops, remove unnecessary import. COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/879 from stephensmithnewfront:main f71e195a9ed157e4c0b3abfa74ae078b0c1a920a PiperOrigin-RevId: 763922003
This commit is contained in:
committed by
Copybara-Service
parent
b79400162d
commit
03fe909ada
@@ -117,7 +117,10 @@ def trace_call_llm(
|
||||
# Consider removing once GenAI SDK provides a way to record this info.
|
||||
span.set_attribute(
|
||||
'gcp.vertex.agent.llm_request',
|
||||
json.dumps(_build_llm_request_for_trace(llm_request)),
|
||||
json.dumps(
|
||||
_build_llm_request_for_trace(llm_request),
|
||||
default=lambda o: '<not serializable>',
|
||||
),
|
||||
)
|
||||
# Consider removing once GenAI SDK provides a way to record this info.
|
||||
span.set_attribute(
|
||||
|
||||
Reference in New Issue
Block a user