Spaces:
Build error
Build error
Update .env.local.template
Browse files- .env.local.template +3 -5
.env.local.template
CHANGED
|
@@ -19,13 +19,11 @@ OPENID_SCOPES="openid profile" # Add "email" for some providers like Google that
|
|
| 19 |
OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.google.com
|
| 20 |
|
| 21 |
|
| 22 |
-
# 'name', 'userMessageToken', 'assistantMessageToken' are required
|
| 23 |
-
|
| 24 |
OPENAI_API_KEY=${OPENAI_API_KEY}
|
|
|
|
| 25 |
MODELS=`[
|
| 26 |
{
|
| 27 |
-
"name": "
|
| 28 |
-
"id": "ling-chatml",
|
| 29 |
"parameters": {
|
| 30 |
"temperature": 0.3,
|
| 31 |
"top_p": 0.8,
|
|
@@ -37,7 +35,7 @@ MODELS=`[
|
|
| 37 |
},
|
| 38 |
"endpoints": [{
|
| 39 |
"type" : "openai",
|
| 40 |
-
"baseURL": "
|
| 41 |
}]
|
| 42 |
}
|
| 43 |
]`
|
|
|
|
| 19 |
OPENID_PROVIDER_URL=https://huggingface.co # for Google, use https://accounts.google.com
|
| 20 |
|
| 21 |
|
|
|
|
|
|
|
| 22 |
OPENAI_API_KEY=${OPENAI_API_KEY}
|
| 23 |
+
|
| 24 |
MODELS=`[
|
| 25 |
{
|
| 26 |
+
"name": "yi-34b-chat-v08",
|
|
|
|
| 27 |
"parameters": {
|
| 28 |
"temperature": 0.3,
|
| 29 |
"top_p": 0.8,
|
|
|
|
| 35 |
},
|
| 36 |
"endpoints": [{
|
| 37 |
"type" : "openai",
|
| 38 |
+
"baseURL": "${ENDPOINT}"
|
| 39 |
}]
|
| 40 |
}
|
| 41 |
]`
|