diff --git a/class.py b/class.py index a6a148581..c1cd4a81a 100644 --- a/class.py +++ b/class.py @@ -273,7 +273,7 @@ class model_backend(InferenceModel): unbantokens=False, bantokens=None, usemirostat=None, forceversion=0, nommap=self.kcpp_nommap, usemlock=False, noavx2=self.kcpp_noavx2, debugmode=self.kcpp_debugmode, skiplauncher=True, hordeconfig=None, noblas=self.kcpp_noblas, useclblast=self.kcpp_useclblast, usecublas=self.kcpp_usecublas, usevulkan=self.kcpp_usevulkan, gpulayers=self.kcpp_gpulayers, tensor_split=self.kcpp_tensor_split, config=None, - onready='', multiuser=False, foreground=False, preloadstory=None, noshift=False, remotetunnel=False, ssl=False, benchmark=None, nocertify=False, sdconfig=None, mmproj=None) + onready='', multiuser=False, foreground=False, preloadstory=None, noshift=False, remotetunnel=False, ssl=False, benchmark=None, nocertify=False, sdconfig=None, mmproj=None, password=None) #koboldcpp.main(kcppargs,False) #initialize library without enabling Lite http server diff --git a/kcpp_docs.embd b/kcpp_docs.embd index 98bf980db..603f2f636 100644 --- a/kcpp_docs.embd +++ b/kcpp_docs.embd @@ -183,6 +183,10 @@ "memory": { "description": "KoboldCpp ONLY. If set, forcefully appends this string to the beginning of any submitted prompt text. If resulting context exceeds the limit, forcefully overwrites text from the beginning of the main prompt until it can fit. Useful to guarantee full memory insertion even when you cannot determine exact token count.", "type": "string" + }, + "images": { + "description": "KoboldCpp ONLY. If set, takes an array of base64 encoded strings, each one representing an image to be processed.", + "type": "array" }, "trim_stop": { "default": false, @@ -345,7 +349,7 @@ "info": { "title": "KoboldCpp API", "description": "For swagger.json, click here.", - "version": "1.60" + "version": "1.61" }, "openapi": "3.0.3", "paths": { @@ -544,7 +548,10 @@ "application/json": { "example": { "result": "KoboldCpp", - "version": "1.46" + "version": "1.61", + "protected": false, + "txt2img": false, + "vision": false }, "schema": { "$ref": "#/components/schemas/KcppVersion" @@ -1105,6 +1112,7 @@ }; +