MineDojo / Voyager

An Open-Ended Embodied Agent with Large Language Models
https://voyager.minedojo.org/
MIT License
5.53k stars 512 forks source link

Add openai_api_base option #70

Open RayBytes opened 1 year ago

RayBytes commented 1 year ago

small pull request which just allows people to easily use their own proxies allowing for use of free versions of openai, and allows use for better management of keys through account tokens in the proxy.

airdrop666666 commented 1 year ago

This project is exactly what I was looking for. Thank you for creating it!

doxav commented 1 year ago

small pull request which just allows people to easily use their own proxies allowing for use of free versions of openai, and allows use for better management of keys through account tokens in the proxy.

What are free versions of openai @RayBytes ?

RayBytes commented 1 year ago

small pull request which just allows people to easily use their own proxies allowing for use of free versions of openai, and allows use for better management of keys through account tokens in the proxy.

What are free versions of openai @RayBytes ?

Basically, many people have created free APIs which harness the power of openai (either through hosting it themselves or staying alive from donations or other etc) and people can use them for free rather than having to pay for openai.

doxav commented 1 year ago

@RayBytes Could you provide examples of those free APIs ?

RayBytes commented 1 year ago

I do not see a reason to do that.

RayBytes commented 1 year ago

If you want to find them, search them up online. This pull request is just to add the base option for support of it, and this is going off-topic.

adrianfiedler commented 11 months ago

Why is this still not merged? I run it locally all the time with text-generation-webui and OpenAI API using the changes proposed in this PR