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

Gemini unary API fixes and natural conversation demo #907

Merged
merged 8 commits into from
Dec 24, 2024

Conversation

kwindla
Copy link
Contributor

@kwindla kwindla commented Dec 23, 2024

  • Added direct setting of tools and tool_config to Gemini unary API.
  • Fixed token usage counting for Gemini unary API
  • Reworked Gemini native audio in natural conversation (smart turn detection) demo

@@ -79,7 +80,7 @@ async def main():
allow_interruptions=True,
enable_metrics=True,
enable_usage_metrics=True,
report_only_initial_ttfb=True,
# report_only_initial_ttfb=True,
Copy link
Contributor

Choose a reason for hiding this comment

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

we probably don't need any of the changes in this file. eleven_flash_v2_5 is already the default now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reverted this file.

@aconchillo
Copy link
Contributor

LGTM!

@kwindla kwindla merged commit ab3bcde into main Dec 24, 2024
3 of 4 checks passed
@kwindla kwindla deleted the khk/gemini-20241221 branch December 24, 2024 01:34
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