[Python] Wrong langserve url api

Discussão em 'Python' iniciado por Stack, Outubro 24, 2024.

  1. Stack

    Stack Membro Participativo

    Title: Why does langchain serve point to a different URL than the one in my server.py?

    Question:

    I am using langserve within a conda environment in VSCode. When I run the command langchain serve, the URL shown in the terminal output is different than the one I have specified in my server.py file.

    Here’s a screenshot showing the mismatch:

    [​IMG]

    What’s confusing is that I’ve used this exact conda environment for another langserve project in the past. Why is langserve pointing to the URL from the previous project, and how can I ensure it uses the correct URL specified in my server.py?

    Continue reading...

Compartilhe esta Página