Tuneapi

Latest version: v8.0.8

Safety actively analyzes 723144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

8.0.2

-----

- Added usage tracking for OpenAI and Anthropic

8.0.1

-----

- Typo so now we are in 8.x.x series
- Fix bug in structured generation for ``Openai``.

0.8.0

-----

- Adding multimodal support for OpenAI and Gemini endpoints.
- Added new types for the new endpoints, etc.
- New utils function ``file_size`` to get the size of the file in bytes.

0.7.4

-----

- Remove ``model_tune.py``, ``model_groq.py`` and ``model_mistral.py`` and subclass those models from ``Openai``.

0.7.3

-----

- Fix bug in image modality for Gemini
- Fix bug in structured generation for OpenAI by setting ``strict=True`` in the API.
- Fix bug in structured generation for Gemini
- Abstracted making input structure for ``Anthropic``, ``OpenAI`` and ``Gemini`` using ``_process_input`` method
- Abstracted outputs for ``Anthropic``, ``OpenAI`` and ``Gemini`` using ``_process_output`` method

0.7.2

-----

- Add image modality for Gemini and OpenAI to complement Anthropic.

Page 2 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.