mirror of
https://github.com/R0m1k3/Loki.git
synced 2026-10-19 13:08:15 +02:00
oai: affiche l'URL publique <machine>.oai.ajean.link dans le panneau Acces OpenAI quand l'acces public est active
This commit is contained in:
1 parent
b929b559c4
commit
6767a816a9
2 files changed
+25
-3
No files matched your search
@@ -548,6 +548,10 @@ func handleAPIKey(w http.ResponseWriter, r *http.Request) {
|
||||
"masked": maskAPIKey(k),
|
||||
"port": LLMPort(),
|
||||
"host": localIP(),
|
||||
// Accès OpenAI PUBLIC via ajean.link (passthrough SNI, VPS aveugle) : si
|
||||
// activé, l'URL publique est https://<machine>.oai.ajean.link/v1.
|
||||
"oai_public": os.Getenv("JEAN_LINK_ALLOW_OAI") == "1",
|
||||
"machine": machineID(),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user