[WIP]feat: add aisuite_llm_python extension with initial implementation #552
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new extension called
aisuite_llm_python
and makes several adjustments to the existing configuration files to integrate this new extension. The most important changes include updating themanifest.json
andproperty.json
files, adding new Python files for the extension, and removing outdated extensions.Integration of
aisuite_llm_python
extension:agents/examples/default/manifest.json
: Added the newaisuite_llm_python
extension to the manifest.agents/examples/default/property.json
: Updated to include the newaisuite_llm_python
extension and its configuration, replacing theopenai_chatgpt_python
extension.Removal of outdated extensions:
agents/examples/default/property.json
: Removed theweatherapi_tool_python
andopenai_v2v_python
extensions along with their configurations. [1] [2] [3]Addition of new extension files:
agents/ten_packages/extension/aisuite_llm_python/__init__.py
: Added an import statement for the new extension.agents/ten_packages/extension/aisuite_llm_python/aisuite_llm_addon.py
: Created the addon class for the new extension.agents/ten_packages/extension/aisuite_llm_python/aisuite_llm_extension.py
: Implemented the main functionality of theaisuite_llm_python
extension, including methods for handling messages, commands, and data.Configuration and dependencies:
agents/ten_packages/extension/aisuite_llm_python/manifest.json
: Defined the properties, commands, and dependencies for the new extension.agents/ten_packages/extension/aisuite_llm_python/property.json
: Added an empty property file for the new extension.agents/ten_packages/extension/aisuite_llm_python/requirements.txt
: Listed theaisuite
package as a dependency.