Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.1.1 #2124

Merged
merged 1 commit into from
Feb 14, 2025
Merged

Release 1.1.1 #2124

merged 1 commit into from
Feb 14, 2025

Conversation

dirkbrnd
Copy link
Contributor

@dirkbrnd dirkbrnd commented Feb 14, 2025

Changelog

Improvements:

  • Firecrawl Custom API URL: Allowed users to set a custom API URL for Firecrawl.

  • Gemini embedder update: Updated the GeminiEmbedder to use the new Google’s genai SDK. It means the interface has changed slightly:

    # Before
    embeddings = GeminiEmbedder("models/text-embedding-004").get_embedding(
        "The quick brown fox jumps over the lazy dog."
    )
    
    # After
    embeddings = GeminiEmbedder("text-embedding-004").get_embedding(
        "The quick brown fox jumps over the lazy dog."
    )
  • Updated the ModelsLabTools toolkit constructor (/libs/agno/tools/models_labs.py) to accommodate audio generation api call. Its a breaking change since it changes the parameters of the ModelsLabTools class.
    url and fetch_url are removed from the parameters. The API urls are decided based on the file_type the user provides.

    MODELS_LAB_URLS = {
        "MP4": "https://modelslab.com/api/v6/video/text2video",
        "MP3": "https://modelslab.com/api/v6/voice/music_gen",
        "GIF": "https://modelslab.com/api/v6/video/text2video",
    }
    
    MODELS_LAB_FETCH_URLS = {
        "MP4": "https://modelslab.com/api/v6/video/fetch",
        "MP3": "https://modelslab.com/api/v6/voice/fetch",
        "GIF": "https://modelslab.com/api/v6/video/fetch",
    }

    The FileType enum now includes MP3 type:

    class FileType(str, Enum):
        MP4 = "mp4"
        GIF = "gif"
        MP3 = "mp3"

Bug Fixes:

  • Gemini functions with no parameters: Addressed an issue where Gemini would reject function declarations with empty properties.
  • Fix exponential memory growth: Fixed certain cases where the agent memory would grow exponentially.
  • Chroma DB: Fixed various issues related to metadata on insertion.
  • Gemini Structured Output: Addressed a bug with Gemini where structured output would not be generated correctly.
  • MistralEmbedder: Fixed issue with instantiation of MistralEmbedder.
  • Reasoning: Fixed an issue with setting reasoning models.
  • Audio Response: Fixed an issue with streaming audio artefacts to the playground.

@dirkbrnd dirkbrnd requested a review from a team as a code owner February 14, 2025 08:38
@dirkbrnd dirkbrnd merged commit bf057ce into main Feb 14, 2025
4 checks passed
@dirkbrnd dirkbrnd deleted the release-1.1.1 branch February 14, 2025 08:54
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.

2 participants