DefectTesting
Agent session SQLAlchemy error
Fixed by ensuring session instances are converted to scalars before response serialization, resolving 'relation does not exist' errors during agent session startup, enabling reliable agent session creation. The SQLAlchemy detached instance error was fixed by commit 39e9d50.