Merge branch 'preview' of https://github.com/continuedev/continue into preview

This commit is contained in:
Nate Sesti 2023-12-04 11:58:33 -08:00
commit 486eb443ca
3 changed files with 4 additions and 4 deletions

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.7.26",
"version": "0.7.27",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.7.26",
"version": "0.7.27",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",

View file

@ -1,7 +1,7 @@
{
"name": "continue",
"icon": "media/icon.png",
"version": "0.7.26",
"version": "0.7.27",
"repository": {
"type": "git",
"url": "https://github.com/continuedev/continue"

View file

@ -26,7 +26,7 @@ class ProxyServer(LLM):
self.context_length = CONTEXT_LENGTH_FOR_MODEL[self.model]
def get_headers(self):
return {"unique_id": self.unique_id}
return {"unique_id": self.unique_id or "None"}
@validator("context_length")
def context_length_for_model(cls, v, values):