livekit / agents

Build real-time multimodal AI applications 🤖🎙️📹
https://docs.livekit.io/agents
Apache License 2.0
4k stars 415 forks source link

livekit-plugins-anthropic: Repeated stream text output after function call #699

Closed SleepAt11 closed 2 months ago

SleepAt11 commented 2 months ago

Description: When using livekit-plugins-anthropic with the voice_assistant agent, I've encountered an issue where the LLM repeats the exact same stream text output after triggering a function call.

Steps to reproduce:

  1. Set up a project using livekit-plugins-anthropic and voice_assistant agent
  2. Implement a scenario that triggers a function call
  3. Observe the LLM's output before and after the function call

Expected behavior: The LLM should continue generating new, relevant text after the function call.

Actual behavior: The LLM repeats the exact same stream of text that was output before the function call.

Environment:

Additional information:

keepingitneil commented 2 months ago

Thanks for the bug report, will look into this today (as well as the deployment issue)