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

ability to define end-point URLs #2

Closed
chymian opened this issue Oct 30, 2023 · 4 comments
Closed

ability to define end-point URLs #2

chymian opened this issue Oct 30, 2023 · 4 comments

Comments

@chymian
Copy link

chymian commented Oct 30, 2023

I wanted to do a testride but its not connecting to docker-run ollama. (see below)
which could maybe worked around, if we could define the endpoints for the ollama-server (might run on another machine)
and the own IP:PORT to bind to.

any plans for that?

and how to use it with docker?

  62 | 
  63 | function getInitialModel() {
> 64 |   fetch("http://localhost:11434/api/tags")
     |  ^
  65 |     .then((response) => response.json())
  66 |     .then((data) => {
  67 |       console.log(data);
@richawo
Copy link
Owner

richawo commented Oct 30, 2023

This is a good point, wasn't an immediate plan but definitely something worth considering, because I don't think it's a massive change!

@rob-mosher
Copy link
Contributor

I've got an implementation working and am putting together a PR.

@rob-mosher
Copy link
Contributor

Following up, I've added this feature under PR #22.

@richawo
Copy link
Owner

richawo commented Sep 20, 2024

merged!

@richawo richawo closed this as completed Sep 20, 2024
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

3 participants