[Python] Endpoint Issue with Open-WebUI in My Python Application Using LLMs

Discussão em 'Python' iniciado por Stack, Abril 11, 2025.

  1. Stack

    Stack Membro Participativo

    I'm encountering an issue with Open-WebUI when querying my language models (LLMs) from my Python application. Context I'm using Open-WebUI as an interface for my models and sending requests from Python to interact with them. However, when I send a question, I receive an error or unexpected behavior related to the Endpoint. Problem When I make a request to the Endpoint via Python, here’s what happens:

    • [Describe the error message or strange behavior you observe]
    • [Specify which endpoint you are using, e.g., http://localhost:3000/api/...]
    • [Explain how you format your HTTP request (GET, POST, parameters, headers…)]

    What I’ve Tried I have tried the following solutions:

    • [Describe the troubleshooting steps you’ve taken]
    • [Mention whether you checked Open-WebUI logs]
    • [Indicate if you tested with different configurations or endpoints]

    Question Has anyone encountered this issue with Open-WebUI and knows how to solve it? Is there any specific configuration that needs to be adjusted for Python requests to work correctly? Additionally, could someone provide the correct Endpoint to send queries and chat with the models? Thanks in advance for your help!

    Continue reading...

Compartilhe esta Página