LostRuins / koboldcpp

A simple one-file way to run various GGML and GGUF models with a KoboldAI UI
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
4.41k stars 318 forks source link

set up a api key please。 label:enhancement #729

Closed lin16303 closed 3 months ago

lin16303 commented 4 months ago

Could you please add api key support to the application? thanks

text-generation-webui can with --api --key xxx

LostRuins commented 4 months ago

There's currently no support for setting an API key as the Kobold API doesn't support authentication. However, you can use a reverse proxy to provide it on the OpenAI API

https://gitgud.io/khanon/oai-reverse-proxy

LostRuins commented 4 months ago

Update: API key support has been added

lin16303 commented 4 months ago

Thank you for your efforts and dedication!

SimplyCorbett commented 3 months ago

Update: API key support has been added

What's the parameter for it?

henk717 commented 3 months ago

--password