update
This commit is contained in:
parent
c947052574
commit
11813454de
@ -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()
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user