mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 09:34:37 +00:00
server : disable context shift by default (#15416)
* server : disable context shift by default ggml-ci * server : make scopr of test parameters local
This commit is contained in:
parent
a6d3cfe7fa
commit
d2fcd91cf9
16 changed files with 27 additions and 20 deletions
|
@ -7,7 +7,7 @@ from utils import *
|
|||
server = ServerPreset.tinyllama2()
|
||||
|
||||
|
||||
@pytest.fixture(scope="module", autouse=True)
|
||||
@pytest.fixture(autouse=True)
|
||||
def create_server():
|
||||
global server
|
||||
server = ServerPreset.tinyllama2()
|
||||
|
@ -229,7 +229,7 @@ def test_nocache_long_input_prompt():
|
|||
"temperature": 1.0,
|
||||
"cache_prompt": False,
|
||||
})
|
||||
assert res.status_code == 200
|
||||
assert res.status_code == 400
|
||||
|
||||
|
||||
def test_completion_with_tokens_input():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue