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

Support Text-Generation Webui #1415

Open
5 tasks done
iChristGit opened this issue Dec 8, 2023 · 7 comments
Open
5 tasks done

Support Text-Generation Webui #1415

iChristGit opened this issue Dec 8, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@iChristGit
Copy link

⚠️ Please check that this feature request hasn't been suggested before.

  • I searched previous Ideas in Discussions didn't find any similar feature requests.
  • 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

  • My issue title is concise, descriptive, and in title casing.
  • I have searched the existing issues to make sure this feature has not been requested yet.
  • I have provided enough information for the maintainers to understand and evaluate this request.
@iChristGit iChristGit added the enhancement New feature or request label Dec 8, 2023
@SubGlitch1
Copy link

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

@SubGlitch1
Copy link

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

@the-cat-crying
Copy link

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
Copy link

yhyu13 commented Dec 25, 2023

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

@chymian
Copy link

chymian commented Jan 9, 2024

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

@zwilch
Copy link

zwilch commented Jan 9, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants