#Realtime tools: enum not enforced; invalid strings slip through

1 messages · Page 1 of 1 (latest)

digital wolf
#

Realtime api tool calling emits out-of-set strings for tool arguments even with strict: true and a JSON-Schema enum.

Symptom
Server validation fails with invalid_enum_value on the enum field.

Expected
Arguments constrained to the declared enum.

Has anybody a solution here? Did someone also saw this?
Thanks in advance 🙂

slow axle
#

Yeah, just make sure you’re logging is not logging actual API keys or SID’s. Tell your copilot assuming you’re using one to “ check how it’s logging everything and make sure that no sensitive data including S IDs and API keys or any user data or personally identify Abel information is being logged right now there are full json schema being logged. Do I need to lock anything down or rotate anything? Please check if any other. Data has been getting logged or exposed and do a malware scan through the entire Republic, please”.

digital wolf
#

I don't understand this answer. But thanks anyway