Coder Social home page Coder Social logo

Comments (4)

tjbck avatar tjbck commented on May 22, 2024

Hi,

Currently, our web UI supports the OLLAMA_ENDPOINT variable in the format: OLLAMA_ENDPOINT="http://[insert your ollama URL]", where you must include the port number as well. For instance: OLLAMA_ENDPOINT="http://192.168.4.1:11434/".

If you have any further questions or need assistance, please don't hesitate to ask.

from open-webui.

coolaj86 avatar coolaj86 commented on May 22, 2024

I had running with the ENVs like this, but it didn't work.

SERVER_ENDPOINT='http://localhost:11434' npm run dev

I think that's because I chose SERVER_ENDPOINT, which was only hardcoded.

Do you know how to change the build step to make use of ENVs? It can't be through process.env.* since that doesn't exist at build time... unless it does?

Maybe PageServerLoad can use process.env.* during the build phase?

from open-webui.

tjbck avatar tjbck commented on May 22, 2024

With the latest Pull Request #10 commit, you can use the following command:

OLLAMA_API_ENDPOINT='http://localhost:11434' npm run dev

Let me know if you need further assistance.

from open-webui.

ralyodio avatar ralyodio commented on May 22, 2024

How do I change the PORT of the web ui?

from open-webui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.