AgentGPT icon indicating copy to clipboard operation
AgentGPT copied to clipboard

Support Text-Generation Webui

Open iChristGit opened this issue 6 months ago â€ĸ 7 comments

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

  • [X] I searched previous Ideas in Discussions didn't find any similar feature requests.
  • [X] I searched previous Issues didn't find any similar feature requests.

🔖 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

  • [X] My issue title is concise, descriptive, and in title casing.
  • [X] I have searched the existing issues to make sure this feature has not been requested yet.
  • [X] I have provided enough information for the maintainers to understand and evaluate this request.

iChristGit avatar Dec 08 '23 17:12 iChristGit

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

SubGlitch1 avatar Dec 11 '23 19:12 SubGlitch1

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

SubGlitch1 avatar Dec 11 '23 19:12 SubGlitch1

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.

the-cat-crying avatar Dec 14 '23 09:12 the-cat-crying

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

yhyu13 avatar Dec 25 '23 13:12 yhyu13

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

chymian avatar Jan 09 '24 11:01 chymian

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:

zwilch avatar Jan 09 '24 14:01 zwilch

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

skywalker123p avatar Feb 19 '24 09:02 skywalker123p