Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StrictTools ¶
func StrictTools()
StrictTools demonstrates strict function calling mode (beta). When Function.Strict is true, the SDK automatically routes requests through the /beta endpoint and the model strictly adheres to the provided JSON Schema.
Strict mode constraints:
- All object properties must be listed in "required"
- Every object must set additionalProperties: false
- String fields: minLength/maxLength are NOT supported; use pattern/format/const instead
- Array fields: minItems/maxItems are NOT supported
- Supported string formats: email, hostname, ipv4, ipv6, uuid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.