mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
fix: incompatible a2a sdk changes
a. camel case to snake case b. A2ACardResolver moved to different module PiperOrigin-RevId: 789807686
This commit is contained in:
committed by
Copybara-Service
parent
bead607364
commit
faadef167e
@@ -136,11 +136,11 @@ def build_a2a_request_log(req: SendMessageRequest) -> str:
|
||||
config_log = "None"
|
||||
if req.params.configuration:
|
||||
config_data = {
|
||||
"acceptedOutputModes": req.params.configuration.acceptedOutputModes,
|
||||
"accepted_output_modes": req.params.configuration.accepted_output_modes,
|
||||
"blocking": req.params.configuration.blocking,
|
||||
"historyLength": req.params.configuration.historyLength,
|
||||
"pushNotificationConfig": bool(
|
||||
req.params.configuration.pushNotificationConfig
|
||||
"history_length": req.params.configuration.history_length,
|
||||
"push_notification_config": bool(
|
||||
req.params.configuration.push_notification_config
|
||||
),
|
||||
}
|
||||
config_log = json.dumps(config_data, indent=2)
|
||||
|
||||
Reference in New Issue
Block a user