My agent at <https://cloud.livekit.io/projects/p_2...
# agents
b
My agent at https://cloud.livekit.io/projects/p_2gar9gxp9yt/agents/CA_LRsZ97G2obFN is in the pending state for some reason. How do I get it back to the running state? It was previously running fine, and my other agent that has the exact same code but a different persona is still running fine. Should I just redeploy the agent? That also seems to be running differently now than when I first deployed the agent as now
lk agent deploy
gives the error message “unable to determine project type: project type could not be identified; expected package.json, requirements.txt, pyproject.toml, or lock files, please use a supported project type, or create your own Dockerfile in the current directory”
It’s working now. Maybe it needed to wake up or something.
e
the lk agent deploy issue should be fixed in lk v2.5.4+
b
Thanks for the response. I have lk version 2.5.4. Not sure why
lk agent deploy
isn’t working. I have a Dockerfile in the directory. This command was working previously. Here’s what’s happening:
e
We expect some sort of dependency management which is why it’s failing. Do you use pip or uv? We’re looking for a requirements.txt or a pyproject.toml
b
I can add those in, but the Dockerfile handles all dependencies
Must be a new requirement
I previously had this in the Dockerfile. Should I move that to requirements.txt and pyproject.toml?
Copy code
# Install system dependencies
RUN apt-get update && apt-get install -y \
    build-essential \
    curl \
    git \
    libffi-dev \
    libssl-dev \
    pkg-config \
    && rm -rf /var/lib/apt/lists/*

# Install LiveKit and required plugins
RUN pip install --no-cache-dir \
    livekit-agents \
    livekit-plugins-elevenlabs \
    livekit-plugins-google \
    livekit-plugins-hedra \
    livekit-plugins-noise-cancellation \
    torch \
    python-dotenv \
    pillow
e
ah I see. we just try to verify which version of the livekit sdk you’re using to ensure new builds stay somewhat up to date. you can try your command with a —skip-sdk-check and/or an empty requirements.txt. Your dockerfile is obviously valid so we’ll need to do a bit more work to support this setup.
b
touch requirements.txt
and
—skip-sdk-check
worked thanks!
🙏 1