Skip to content

Self-hosted AI workspace.

Python

fix(tests): add endpoint URL to archived session seeds

Wes Huberc8ca70f9787c
diff --git a/tests/test_archived_sessions_model_filter.py b/tests/test_archived_sessions_model_filter.py
index 32c842054..921b62d62 100644
--- a/tests/test_archived_sessions_model_filter.py
+++ b/tests/test_archived_sessions_model_filter.py
@@ -51,7 +51,7 @@ def _seed(owner, *models):
db.query(DbSession).delete()
for m in models:
db.add(DbSession(id=str(uuid.uuid4()), owner=owner, name=f"chat {m}",
- model=m, archived=True))
+ endpoint_url="http://localhost", model=m, archived=True))
db.commit()
finally:
db.close()