text stringlengths 0 3.02k |
|---|
Mmm ... ok ok, I'm not sure I follow all the reasoning. |
It might be a little above my overall understanding of the project 😄 |
[3/16/2024 4:56 PM] wildtang3nt |
a middleware by definition is supposed to make adding these sorts of things easier, no? |
{Reactions} |
👍 (2) ☝️ 💯 |
[3/16/2024 4:56 PM] wildtang3nt |
by only writing code to support the middleware, we gain the benefits of anything it includes |
[3/16/2024 4:57 PM] mr.headsh0t |
But let's say I want to add LLMonitor logging. |
Where do you think I should add the little piece of code that relay my request to the tool. |
They say I need to add 2 things: |
`litellm.success_callback = ["llmonitor"] |
litellm.failure_callback = ["llmonitor"]` |
and |
`os.environ["LLMONITOR_API_URL"] = "self-hosting-url"` |
would that go into the `open-webui/backend/main.py` file? |
[3/16/2024 4:59 PM] wildtang3nt |
I honestly wouldn't know... we've essentially reverse-engineered an implementation of their proxy docker container |
[3/16/2024 5:00 PM] wildtang3nt |
which takes a config.yaml, I've noted previously that converting their docs to this format is difficult: |
https://github.com/open-webui/open-webui/discussions/1038#discussioncomment-8793459 |
{Embed} |
https://github.com/open-webui/open-webui/discussions/1038 |
LiteLLM Example Configs · open-webui open-webui · Discussion #1038 |
Just wanted to dump some configs for common endpoints for future reference. NoteOther than official OpenAI-endpoints, LiteLLM usually requires that an provider be specified before the model string ... |
https://images-ext-1.discordapp.net/external/Y_t_GcnH7dqk8sM6un_hyeTplF8MwolHVXjcaeibFUo/https/opengraph.githubassets.com/bae65f0156ea6a1fc7d98f97ea34f089e1e454b2798355b373ce7f50ceae2bfb/open-webui/open-webui/discussions/1038 |
[3/16/2024 5:01 PM] wildtang3nt |
I am confident there's a way to configure their proxy server that they've just failed to properly document, because I can usually get most things to work after enough bending the python docs to fit the shape of the proxy container config |
[3/16/2024 5:04 PM] wildtang3nt |
if not then I guess we'd need to code that in ourselves |
{Reactions} |
👍 |
[3/16/2024 5:04 PM] mr.headsh0t |
Ok well! |
I'll dig a little deeper into that next week. |
Thanks everyone for the support and brainstorm! |
And @Jann:1k if you ever manage to connect LLMonitor to the OWUI let me know! |
I'll do the same 🙂 |
{Reactions} |
👍🏼 |
[3/16/2024 5:05 PM] wildtang3nt |
perhaps its easier to understand me if you know that I live by the maxim "a good sysadmin is a lazy sysadmin" 😉 |
{Reactions} |
😂 |
[3/16/2024 5:06 PM] wildtang3nt |
I'd much rather use something already put together than get out the hacksaw and superglue myself |
[3/16/2024 5:07 PM] wildtang3nt |
if I gotta code something myself it's usually either super niche or I've exhausted all other free options without finding what I need |
[3/16/2024 5:11 PM] g30 |
@wildtangn:3t I noticed the one-click bat script you provided me with doesn't seem to update the dev WebUI branch to the latest version when I need to reload it. |
``` |
@echo off |
CALL conda activate base |
cd /d X:\open-webui-dev2\open-webui |
git pull |
CALL npm i |
CALL npm run build |
cd backend |
CALL conda activate open-webui-dev |
pip install -r requirements.txt |
CALL start_windows.bat |
``` |
[3/16/2024 5:11 PM] g30 |
git pull - This command pulls the latest changes from the remote repository and merges them into the local repository. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.