reworkd / AgentGPT

🤖 Assemble, configure, and deploy autonomous AI Agents in your browser.
https://agentgpt.reworkd.ai
GNU General Public License v3.0
31.88k stars 9.25k forks source link

Support Text-Generation Webui #1415

Open iChristGit opened 11 months ago

iChristGit commented 11 months ago

⚠ī¸ Please check that this feature request hasn't been suggested before.

🔖 Feature description

This is the project: https://github.com/oobabooga/text-generation-webui/ It has by default an openai like api and it all runs locally, can it be support with this project?

✔ī¸ Solution

Add support for TextGenWebui

❓ Alternatives

None

📝 Additional Context

No response

Acknowledgements

SubGlitch1 commented 11 months ago

you can. in the .env just change the base url api

SubGlitch1 commented 11 months ago

u have to launch text-generation with the openai extention. the base url then becomes https://127.0.0.1:5000

the-cat-crying commented 11 months ago

Tools Select what external tools your agents have access to.

Error loading tools.

Language įŽ€äŊ“中文

API Key You can optionally use your own API key here. You can find your API key in your OpenAI dashboard.

http://localhost:8051/v1

Test Advanced Settings Model gpt-3.5-turbo

and http://localhost:8051/v1 is local llm api,but it not work.

yhyu13 commented 11 months ago

Ehhh, textgen webui does not support function calling at this moment, so the api call would fail immediately

chymian commented 10 months ago

we getting closer for ooba's function calling support: PR 5185 is nearly ready to be merged.

zwilch commented 10 months ago

cd next/src grep -R "openai"

there is openai.com hardcoded and not using .env

server/api/routers/agentRouter.ts the functionnew OpenAI() has no baseURL:

skywalker123p commented 9 months ago

Harcoded OpenAPI url should be replace by configurable so we can use any custom locally running LLM.