* refactor(calculator): update tool implementation
Replace legacy tool mode implementation using CalculatorToolSchema with simplified tool_mode=True approach.
* refactor(calculator): fix deprecation warnings
Fix ast.Num deprecation warnings by supporting ast.Constant while maintaining backwards compatibility.
* Update isinstance check to use Python 3.10+ union operator (|) instead of tuple syntax
* Update calculator.py
Component name required; if not it would get None in Toolset
* [autofix.ci] apply automated fixes
* test(calculator): add unit tests for CalculatorToolComponent
* revert(tools): restore Calculator component to its original implementation
Due to potential breaking changes in the repository, reverting the Calculator
component to its initial PR state to maintain compatibility and stability.
* feat(tools): mark Calculator component as legacy and update display name
- Set legacy flag to true for Calculator component
- Update display name to "Calculator (Deprecated)" to clearly indicate deprecation status
- Maintain backward compatibility by preserving class name and internal name
* feat(tools)!: add new calculator core component
BREAKING CHANGE: Introduces calculator_core.py as a replacement for the deprecated calculator.py
* refactor(tools): rename calculator classes for better distinction
* refactor(tools): update __init__.py to reflect new class names
* [autofix.ci] apply automated fixes
* test(tools): update calculator tests for core component
---------
Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>