This repository was archived by the owner on Apr 29, 2025. It is now read-only.
Releases: getsimpletool/simpletool-python
Releases · getsimpletool/simpletool-python
v0.0.7
[0.0.7] - 2025-01-05
Added
- test which cover decorator @validate_tool_output - used to check if users return only valid list of elements types
- added FileContent which return encoded base64 file content and mime of this file
- added in ResourceContents mandatory
name
attribute and optionaldescription
attribute - as server needs to be able to identify resource also by thename
(which will work asid
in database)
Fixed
- run/execute should return Sequence (which is covariant) instead of List (which is invariant) - that should fully allow return mix of types with no linter warnings
v0.0.5
[0.0.5] - 2025-01-03
Fixed
- tool should from now always return list of elements - List[ContentT]
v0.0.4
[0.0.4] - 2025-01-02
Fixed
- select_random_api_key where value is empty string cause error
Added
- add proper validation of run/execute output type (validate_tool_output decorator)
this will allow only to use as output: Union[List[ContentT], ErrorData]
where: ContentT = TypeVar('ContentT', ImageContent, TextContent, EmbeddedResource)
v0.0.3
[0.0.3] - 2025-01-02
Fixed
- upgrade to 0.0.2 breaks loading of tool (#1).
Added
- run test now will now run Autopep8 to fix some formating issues and Flake8 linting on test files
Full Changelog: v0.0.2...v0.0.3
v0.0.2
[0.0.2] - 2025-01-02
Added
- documentation in README.md
- run_test.py - manual run test
Changed
- fix some formating flake8 comp
- autorun github workflow on change version in setup.py
Init project
[0.0.1] - 2025-01-01
Added
- Init project
- This CHANGELOG file to hopefully serve as an evolving example of a
standardized open source project CHANGELOG.
Full Changelog: https://github.com/nchekwa/simpletool-python/commits/v0.0.1