livekit / agents

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

words repeat #354

Open TONY-STARK-TECH opened 1 month ago

TONY-STARK-TECH commented 1 month ago

ISSUE WITH AGENT PLAYGROUND

davidzhao commented 1 month ago

which version of agents framework are you using?

TONY-STARK-TECH commented 1 month ago

agent:

livekit-agents~=0.8.dev0
livekit-plugins-openai~=0.6.dev0
livekit-plugins-deepgram~=0.6.dev0
livekit-plugins-elevenlabs~=0.6.dev0
livekit-plugins-silero~=0.6.dev0
ffmpeg-python

playground:

{
  "name": "agents-playground",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@livekit/components-react": "^2.3.1",
    "@radix-ui/react-dropdown-menu": "^2.0.6",
    "cookies-next": "^4.1.1",
    "framer-motion": "^10.16.16",
    "js-yaml": "^4.1.0",
    "livekit-client": "^2.1.5",
    "livekit-server-sdk": "^2.1.2",
    "lodash": "^4.17.21",
    "next": "^14.0.4",
    "qrcode.react": "^3.1.0",
    "react": "^18",
    "react-dom": "^18"
  },
  "devDependencies": {
    "@types/js-yaml": "^4.0.9",
    "@types/lodash": "^4.17.0",
    "@types/node": "^20.10.4",
    "@types/react": "^18.2.43",
    "@types/react-dom": "^18",
    "autoprefixer": "^10.4.16",
    "eslint": "^8",
    "eslint-config-next": "14.2.3",
    "postcss": "^8.4.31",
    "tailwindcss": "^3.3.5",
    "typescript": "^5.3.3"
  }
}
davidzhao commented 1 month ago

Please use 0.7.1 instead. the dev0 versions are not for general consumption

TONY-STARK-TECH commented 1 month ago

ok i will give a try thanks

TONY-STARK-TECH commented 1 month ago

Collecting livekit-agents~=0.7.1 (from -r requirements.txt (line 1)) Using cached livekit_agents-0.7.1-py3-none-any.whl.metadata (1.5 kB) ERROR: Could not find a version that satisfies the requirement livekit-plugins-openai~=0.7.1 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.dev0, 0.3.0, 0.4.dev0, 0.4.dev1, 0.4.0, 0.5.dev0, 0.5.0, 0.6.dev0)

TONY-STARK-TECH commented 1 month ago

The conflict is caused by: The user requested livekit-agents~=0.7.1 livekit-plugins-openai 0.6.dev0 depends on livekit-agents~=0.8.dev0

TONY-STARK-TECH commented 1 month ago

Please use 0.7.1 instead. the dev0 versions are not for general consumption

hey, please bump a new version for live kit plugins...

TONY-STARK-TECH commented 1 month ago
image

latest 0.7.1 also this problem.

theomonnom commented 1 month ago

Hey, do you have more specific steps on how to reproduce this? I'm unable to reproduce.

TONY-STARK-TECH commented 1 month ago

hey, use openai tts and stt, can reproduce this~

heilmela commented 4 weeks ago

i can reproduce with openai stt - maybe its an issue with openai ?

jamestwhedbee commented 1 week ago

I ran into this too, when using StreamAdapter for OpenAI STT. I was able to resolve the issue by commenting out this block of code.

I don't know this code well enough to know all the side effects of doing this. I was hoping someone here could confirm if that change makes sense?

Anandsure commented 3 days ago

@jamestwhedbee I did the same thing. two messages with the same content are currently getting appended into context. the interrupts also don't seem to be working when we do that.