Spaces:
Runtime error
Runtime error
Commit
•
2c8cf35
1
Parent(s):
3265f38
Update .env.local.template
Browse files- .env.local.template +2 -3
.env.local.template
CHANGED
@@ -23,8 +23,6 @@ OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.go
|
|
23 |
MODELS=`[
|
24 |
{
|
25 |
"name": "${MODEL_NAME}",
|
26 |
-
"chatPromptTemplate": "${MODEL_PROMPT_TEMPLATE}",
|
27 |
-
"preprompt": "",
|
28 |
"promptExamples": [
|
29 |
{
|
30 |
"title": "Python Fibonacci",
|
@@ -40,7 +38,8 @@ MODELS=`[
|
|
40 |
"endpoints": [
|
41 |
{
|
42 |
"type": "openai",
|
43 |
-
"url": "http://127.0.0.1:8080/v1"
|
|
|
44 |
}
|
45 |
],
|
46 |
"parameters": ${MODEL_PARAMS}
|
|
|
23 |
MODELS=`[
|
24 |
{
|
25 |
"name": "${MODEL_NAME}",
|
|
|
|
|
26 |
"promptExamples": [
|
27 |
{
|
28 |
"title": "Python Fibonacci",
|
|
|
38 |
"endpoints": [
|
39 |
{
|
40 |
"type": "openai",
|
41 |
+
"url": "http://127.0.0.1:8080/v1",
|
42 |
+
"apiKey": "abc...xyz"
|
43 |
}
|
44 |
],
|
45 |
"parameters": ${MODEL_PARAMS}
|