Gpt-live-1: session.start fails with "Type is not JSON serializable: decimal.Decimal" if any tool schema contains a float

· Community Openai · Sept. 14, 2026, 5:43 a.m.
Summary
This blog post outlines a technical issue with the gpt-live-1 API, specifically how the inclusion of any float in a tool schema can cause the session.start request to fail. It details the error message, possible causes, and provides a workaround by converting floats to integers. This is critical information for developers working with the gpt-live-1 system, particularly those generating tool schemas automatically.
AUTHOR