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

Fix a bug and default to streaming #102

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Fix a bug and default to streaming #102

merged 1 commit into from
Mar 26, 2024

Conversation

zachwe
Copy link
Contributor

@zachwe zachwe commented Mar 26, 2024

Description

  • Renamed the callback function in response_agent.py to on_deepgram_message to improve code clarity.
  • Updated the default Automatic Speech Recognition (ASR) method in settings.py to deepgram from whisper.

Changes walkthrough

Relevant files
Enhancement
response_agent.py
Rename Callback Function for Clarity                                                     

openduck-py/openduck_py/response_agent.py

  • Renamed callback function from on_message to on_deepgram_message for
    clarity.
  • +1/-1     
    Configuration changes
    settings.py
    Update Default ASR Method to Deepgram                                                   

    openduck-py/openduck_py/settings.py

  • Changed the default value of ASR_METHOD from whisper to deepgram.
  • +1/-1     
    💡 Usage Guide

    Checking Your Pull Request

    Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

    Talking to CodeAnt AI

    Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

    @codeant-ai ask: Your question here
    

    This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

    Check Your Repository Health

    To analyze the health of your code repository, visit our dashboard at app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

    Copy link

    vercel bot commented Mar 26, 2024

    The latest updates on your projects. Learn more about Vercel for Git ↗︎

    Name Status Preview Updated (UTC)
    openduck 🔄 Building (Inspect) Visit Preview Mar 26, 2024 0:13am

    Copy link

    netlify bot commented Mar 26, 2024

    Deploy Preview for openduck canceled.

    Name Link
    🔨 Latest commit aeb7ec3
    🔍 Latest deploy log https://app.netlify.com/sites/openduck/deploys/66021319b9b0a3000801e9db

    @zachwe zachwe merged commit 334dce5 into main Mar 26, 2024
    12 of 13 checks passed
    @zachwe zachwe deleted the zach-bugfix branch March 26, 2024 00:13
    @codeant-ai codeant-ai bot added enhancement New feature or request bug_fix labels Mar 26, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    bug_fix enhancement New feature or request
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    None yet

    1 participant