Merge branch 'preview' of https://github.com/continuedev/continue into preview
This commit is contained in:
commit
486eb443ca
3 changed files with 4 additions and 4 deletions
4
extensions/vscode/package-lock.json
generated
4
extensions/vscode/package-lock.json
generated
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue