bee-agent-framework icon indicating copy to clipboard operation
bee-agent-framework copied to clipboard

doc: add info on running with remote ollama

Open mhdawson opened this issue 1 year ago • 2 comments

I think running with a remote ollama instance will be a relatively common use case.

Having this little bit of extra info would have saved me time and void me having to hunt through the code and other examples to figure out how to use my remote instance.

Which issue(s) does this pull-request address?

While working through the initial example I had to spend some time figuring out how to use my existing remote ollama instance. I believe this will be common enough that it's worth adding a small section to help people avoid that additional effort when trying out the first example.

Closes: #

Description

Adds the info to the README.md to show how to use a remote ollama instance.

Checklist

  • [X] I have read the contributor guide
  • [X] Linting passes: yarn lint or yarn lint:fix
  • [X] Formatting is applied: yarn format or yarn format:fix
  • [X] Unit tests pass: yarn test:unit
  • [X] E2E tests pass: yarn test:e2e
  • [X] Tests are included
  • [X] Documentation is changed or added
  • [X] Commit messages and PR title follow conventional commits

mhdawson avatar Oct 11 '24 14:10 mhdawson

Lots of us don't use an IDE but up to you.

When adding to examples/llms/providers/ollama.ts do you mean to add the client options to one of the existing examples or adding a new one with something like "===REMOTE OLLAMA===" ?

mhdawson avatar Oct 11 '24 19:10 mhdawson

Yes, please add it to the example.

===REMOTE OLLAMA== or ===CUSTOM CONFIGURATION=== whatever you deem appropriate 👍🏻

Tomas2D avatar Oct 11 '24 19:10 Tomas2D

@mhdawson, are you still going to do it?

Tomas2D avatar Oct 15 '24 13:10 Tomas2D

@Tomas2D will do it today, Monday was a holiday in Canada where I am.

mhdawson avatar Oct 15 '24 14:10 mhdawson

@Tomas2D updated.

mhdawson avatar Oct 15 '24 15:10 mhdawson