Ai-microcore

Latest version: v3.16.3

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

Scan your dependencies

Page 2 of 9

3.14.0

- VALIDATE_CONFIG (bool) option added
**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.13.0...v3.14.0

3.13.0

- **New Feature:** Introduced hidden output removal to eliminate things like `<think>` tags and their content from the output.
- **Configuration:** Enable via `HIDDEN_OUTPUT_BEGIN` and `HIDDEN_OUTPUT_END` fields.
- **Note:** This feature is supported only by the OpenAI API.

- **Enhancement:** Improved fixing / parsing of LLM-generated JSONs

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.12.2...v3.13.0

3.12.2

This update introduces a 'default' argument to the `storage.read` and `storage.read_json` methods. If specified, the method will return the provided default value when the requested file does not exist. The behavior remains unchanged if the 'default' argument is not provided.

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.12.1...v3.12.2

3.12.1

- Possibility to force-disable streaming when callbacks was provided (OpenAI, Anthropic API)
- Fix tests when .env file is present

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.12.0...v3.12.1

3.12.0

- Added a "prompt" attribute to LLM response strings, referencing the prompt used to generate them (can be disabled with the SAVE_MEMORY configuration option).
- Enhanced dicts returned by LLMResponse.parse_json() to include a new "llm_response" attribute, referencing the original LLM response string (dict content remains unaffected).
- Updated Role.<NAME> and ApiType.<NAME> values to be Enums of their respective types, rather than plain strings.
- Improved type definitions and type hints across the codebase.

**Full Changelog**: https://github.com/Nayjest/ai-microcore/compare/v3.11.1...v3.12.0

3.11.1

- Better support for ChromaDB 0.5.X+,
- New methods introduced: texts.collection_exists(collection_name) and texts.has_content(collection_name)

Page 2 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.