-
Notifications
You must be signed in to change notification settings - Fork 618
Closed
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Starting in 1.42.0, keys in Live API tool responses are getting re-cased from snake case to camel case.
For example, the user_name
in this response
:
function_responses.append(types.FunctionResponse(
id=fc.id,
name=fc.name,
response={"user_name": "Buffy"},
scheduling=types.FunctionResponseScheduling.SILENT,
))
Now gets converted to userName
, breaking previously working integrations.
This new behavior was introduced in #1420:
6c46d54#diff-159b877dd147790014e1eceed4e04d6dc6bb4edaa64155847082e6d3dff03cc9R416-R417
alimuldal
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.