This commit is contained in:
josc146 2023-05-17 11:47:45 +08:00
parent c947052574
commit 11813454de
2 changed files with 10 additions and 2 deletions

View File

@ -19,8 +19,8 @@ class Message(BaseModel):
class CompletionBody(ModelConfigBody): class CompletionBody(ModelConfigBody):
messages: List[Message] messages: List[Message]
model: str model: str = "rwkv"
stream: bool stream: bool = False
completion_lock = Lock() completion_lock = Lock()

View File

@ -2,6 +2,14 @@
"version": "1.0.0", "version": "1.0.0",
"localModelPath": "models", "localModelPath": "models",
"programFiles": [ "programFiles": [
{
"url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/cmd-helper.bat",
"path": "cmd-helper.bat"
},
{
"url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/20B_tokenizer.json",
"path": "backend-python/20B_tokenizer.json"
},
{ {
"url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/main.py", "url": "https://cdn.jsdelivr.net/gh/josstorer/RWKV-Runner/backend-python/main.py",
"path": "backend-python/main.py" "path": "backend-python/main.py"