Moved VARS to koboldai_settings and broken into model, story, user, system variables. story class also re-written to include options (actions_metadata). actions_metadata will be removed in UI2.

This commit is contained in:
ebolam
2022-06-22 11:14:37 -04:00
parent d4e18360f0
commit 13fcf462e9
6 changed files with 2040 additions and 1657 deletions

View File

@@ -125,7 +125,7 @@ def test_load_model_from_web_ui(client_data, model, expected_load_options):
assert response['url'] == expected_load_options['url']
#Now send the load
socketio_client.emit('message',{'cmd': 'load_model', 'use_gpu': True, 'key': '', 'gpu_layers': '', 'url': '', 'online_model': ''})
socketio_client.emit('message',{'cmd': 'load_model', 'use_gpu': True, 'key': '', 'gpu_layers': str(expected_load_options['layer_count']), 'disk_layers': '0', 'url': '', 'online_model': ''})
#wait until the game state turns back to start
state = 'wait'
start_time = time.time()