openai-python v2.48.0 adds None support for cache keys and spend limit APIs
sdkaiengineer
feature
The openai-python client library has released version 2.48.0, introducing support for passing `None` to `prompt_cache_key` and `safety_identifier` for enhanced caching flexibility. It also adds support for `spend_limit` administrative APIs, beneficial for managing resource allocation. These updates are relevant for developers using the Python client to interact with OpenAI services, particularly those managing caching or administrative functions.
- →accept None for prompt_cache_key/safety_identifier
- →add support for spend_limit admin apis
Read the original announcement →
https://github.com/openai/openai-python/releases/tag/v2.48.0
Related releases
- OpenAI Disrupts Cambodia-Based Scam Operation OpenAI News ·
- openai-python v2.52.0 adds content provenance checks OpenAI Python SDK Releases ·
- OpenAI's Full-Stack Approach to Advanced AI OpenAI News ·
- Univé Builds AI-Ready Workforce with ChatGPT Enterprise OpenAI News ·
- OpenAI Discusses Responsible AI Practices for Europe OpenAI News ·
- Avatarin uses OpenAI GPT-Realtime for 24/7 retail customer support OpenAI News ·