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

words repeat #354

Closed
C-L-STARK opened this issue Jun 6, 2024 · 14 comments
Closed

words repeat #354

C-L-STARK opened this issue Jun 6, 2024 · 14 comments

Comments

@C-L-STARK
Copy link

ISSUE WITH AGENT PLAYGROUND

@davidzhao
Copy link
Member

which version of agents framework are you using?

@C-L-STARK
Copy link
Author

C-L-STARK commented Jun 7, 2024

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
Copy link
Member

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

@C-L-STARK
Copy link
Author

ok i will give a try thanks

@C-L-STARK
Copy link
Author

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)

@C-L-STARK C-L-STARK reopened this Jun 7, 2024
@C-L-STARK
Copy link
Author

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

@C-L-STARK C-L-STARK reopened this Jun 7, 2024
@C-L-STARK
Copy link
Author

C-L-STARK commented Jun 7, 2024

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

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

@C-L-STARK
Copy link
Author

image

latest 0.7.1 also this problem.

@theomonnom
Copy link
Member

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

@C-L-STARK
Copy link
Author

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

@heilmela
Copy link

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

@jamestwhedbee
Copy link
Contributor

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
Copy link

@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.

@theomonnom
Copy link
Member

Hey, this issue has been fixed on the latest version

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

No branches or pull requests

6 participants