mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
bugfix
This commit is contained in:
@@ -16,7 +16,7 @@ def main():
|
||||
|
||||
def on_open(ws: websocket.WebSocket):
|
||||
logger.info("Connected to backend, sending config...")
|
||||
worker_config = inference.WorkerConfig(model_name=settings.model_name)
|
||||
worker_config = inference.WorkerConfig(model_name=settings.model_id)
|
||||
ws.send(worker_config.json())
|
||||
logger.info("Config sent, waiting for work...")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user