text
stringlengths
0
3.02k
[3/6/2024 1:00 PM] .coreyp
Question: I prefer python for writing LLM app code, opposed to the Svelte/lib/api endpoints is the project agnostic in that sense of where the action is happening?
[3/6/2024 1:05 PM] wildtang3nt
The backend is all python
[3/6/2024 1:06 PM] wildtang3nt
Which is where most of the LLM stuff happens anyway
{Reactions}
👍
[3/6/2024 1:06 PM] wildtang3nt
the Svelte frontend is just a pretty face on top of the backend APIs
[3/6/2024 2:39 PM] .coreyp
Excellent. Writing and reading llm code in JS is straight yuck. Thank ya sir.
[3/6/2024 2:46 PM] wildtang3nt
@gpt:1m this change regarding the OLLAMA_BASE_URL has me worried there's going to be another wave of migration hell issues, how backwards compatible is this change?
[3/6/2024 2:47 PM] timbk
it'll still accept `OLLAMA_API_BASE_URL` but `OLLAMA_BASE_URL` will be recommeneded from now on
{Reactions}
👌
[3/6/2024 2:47 PM] wildtang3nt
Perfect
[3/6/2024 2:47 PM] timbk
especially now that we have multiple ollama instance support
[3/6/2024 2:47 PM] wildtang3nt
fo' sho'
[3/6/2024 2:48 PM] timbk
it only makes sense to rename it to `OLLAMA_BASE_URL` it will take comma seperated urls as a valid input
[3/6/2024 2:48 PM] wildtang3nt
Love it 😄
[3/6/2024 2:49 PM] timbk
if you could test backward compatibility that would be great!
[3/6/2024 2:49 PM] timbk
{Attachments}
https://cdn.discordapp.c…1b27388a375f763&
[3/6/2024 2:49 PM] timbk
should just work in theory
[3/6/2024 2:49 PM] wildtang3nt
While I got ya here.. did you see this?
[3/6/2024 2:50 PM] timbk
yeah we'll get there eventually 😅
[3/6/2024 2:50 PM] wildtang3nt
I have a feeling you probably already had essentially this in mind, but on the chance you didnt
[3/6/2024 2:50 PM] timbk
kinda sorta have that implemented already with `REQUEST_POOL` for cancelling ollama requests
[3/6/2024 2:50 PM] wildtang3nt
Minty
[3/6/2024 2:51 PM] wildtang3nt
I figured as much, but I wasn't sure
{Reactions}
👍
[3/6/2024 3:11 PM] wildtang3nt
@gpt:1m backwards compat of the `OLLAMA_API_BASE_URL`, and the new `OLLAMA_BASE_URLS` var with multiple comma-separated URLs is working perfect here
{Reactions}
👍
[3/6/2024 3:11 PM] wildtang3nt