llama-swap: require LLAMA_SWAP_API_KEY auth
This commit is contained in:
parent
6f4e0c8b68
commit
0c363443bb
1 changed files with 2 additions and 2 deletions
|
|
@ -357,7 +357,7 @@ export default async function (pi: ExtensionAPI) {
|
||||||
"byte.llama",
|
"byte.llama",
|
||||||
"byte.llama (byte.local GPU)",
|
"byte.llama (byte.local GPU)",
|
||||||
HOST.startsWith("byte") ? "http://localhost:9292/v1" : "http://byte.local:9292/v1",
|
HOST.startsWith("byte") ? "http://localhost:9292/v1" : "http://byte.local:9292/v1",
|
||||||
"none",
|
"LLAMA_SWAP_API_KEY",
|
||||||
);
|
);
|
||||||
|
|
||||||
// miche.llama — miche.local GPU (localhost when running on miche itself)
|
// miche.llama — miche.local GPU (localhost when running on miche itself)
|
||||||
|
|
@ -366,6 +366,6 @@ export default async function (pi: ExtensionAPI) {
|
||||||
"miche.llama",
|
"miche.llama",
|
||||||
"miche.llama (miche.local GPU)",
|
"miche.llama (miche.local GPU)",
|
||||||
HOST.startsWith("miche") ? "http://localhost:9292/v1" : "http://miche.local:9292/v1",
|
HOST.startsWith("miche") ? "http://localhost:9292/v1" : "http://miche.local:9292/v1",
|
||||||
"none",
|
"LLAMA_SWAP_API_KEY",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue