Skip to content

feat: Smallest AI Tool Integration#2437

Closed
Itz-Antaripa wants to merge 6 commits intomainfrom
smallestai-integration
Closed

feat: Smallest AI Tool Integration#2437
Itz-Antaripa wants to merge 6 commits intomainfrom
smallestai-integration

Conversation

@Itz-Antaripa
Copy link
Contributor

@Itz-Antaripa Itz-Antaripa commented Mar 17, 2025

Description

Added SmallestAI Tool for text-to-speech synthesis. SmallestAI provides high-quality text-to-speech synthesis with multiple voices and models. It supports both English and Hindi languages, various accents, and custom voice cloning.
Website: https://smallest.ai/


Type of change

Please check the options that are relevant:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Model update (Addition or modification of models)
  • Other (please describe):

Checklist

  • Adherence to standards: Code complies with Agno’s style guidelines and best practices.
  • Formatting and validation: You have run ./scripts/format.sh and ./scripts/validate.sh to ensure code is formatted and linted.
  • Self-review completed: A thorough review has been performed by the contributor(s).
  • Documentation: Docstrings and comments have been added or updated for any complex logic.
  • Examples and guides: Relevant cookbook examples have been included or updated (if applicable).
  • Tested in a clean environment: Changes have been tested in a clean environment to confirm expected behavior.
  • Tests (optional): Tests have been added or updated to cover any new or changed functionality.

@Itz-Antaripa Itz-Antaripa requested a review from a team as a code owner March 17, 2025 14:53

# Load environment variables
load_dotenv()
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Itz-Antaripa Generally dont need to do this in the cookbook, since the SDK and tools should pull this automatically on runtime

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are also creating these vars but not using them right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ This

Copy link
Contributor

@kausmeows kausmeows left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Itz-Antaripa thanks for this implementation, few comments below:
Plus,

  • After going through the comments can you retest this and in the PR description add a loom video or something of the flow with TTS working? That'll be great for quick review


# Load environment variables
load_dotenv()
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ This

from agno.utils.log import logger

try:
from smallest import Smallest # type: ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Itz-Antaripa even after installing smallestai the import doesn't seem to work-

After running cookbook, says this-
image

Can you confirm if their api has changed or something like that?

Maybe its the below one, i'm not sure-
image

@dirkbrnd dirkbrnd closed this Jun 5, 2025
@dirkbrnd dirkbrnd reopened this Jun 5, 2025
@Mustafa-Esoofally Mustafa-Esoofally changed the title Smallest AI Tool Integration feat: Smallest AI Tool Integration Jul 18, 2025
@dirkbrnd dirkbrnd closed this Oct 22, 2025
@dirkbrnd dirkbrnd reopened this Oct 22, 2025
@ysolanky ysolanky closed this Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants