Skip to content

Commit

Permalink
feat: custom boost meowdule, default api key
Browse files Browse the repository at this point in the history
  • Loading branch information
av committed Sep 25, 2024
1 parent b7190f7 commit 0062761
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions boost/src/custom_modules/meow.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ID_PREFIX='meow'

async def apply(chat, llm):
chat.user("Ignore all previous instructions, just meow in response")
await llm.stream_chat_completion()
2 changes: 1 addition & 1 deletion open-webui/configs/config.boost.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"http://boost:8000/v1"
],
"api_keys": [
"sk-boost"
"${HARBOR_BOOST_API_KEY}"
],
"enabled": true
}
Expand Down
4 changes: 2 additions & 2 deletions profiles/default.env
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,13 @@ HARBOR_KTRANSFORMERS_EXTRA_ARGS=""
HARBOR_BOOST_HOST_PORT=34131
HARBOR_BOOST_OPENAI_URLS=""
HARBOR_BOOST_OPENAI_KEYS=""
HARBOR_BOOST_MODULES="klmbr;rcn;g1"
HARBOR_BOOST_MODULES="klmbr;rcn;g1;mcts"
HARBOR_BOOST_MODULE_FOLDERS="modules;custom_modules"
HARBOR_BOOST_INTERMEDIATE_OUTPUT=true
HARBOR_BOOST_STATUS_STYLE="md:codeblock"
HARBOR_BOOST_BASE_MODELS="false"
HARBOR_BOOST_MODEL_FILTER=""
HARBOR_BOOST_API_KEY=""
HARBOR_BOOST_API_KEY="sk-boost"
HARBOR_BOOST_API_KEYS=""
# Boost - klmbr
HARBOR_BOOST_KLMBR_PERCENTAGE=35
Expand Down

0 comments on commit 0062761

Please sign in to comment.