Closed MHHukiewitz closed 9 months ago
Failed to retrieve llama text: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
create_instance
method has many parameters with default values, which can make it more challenging to understand its behavior without careful reading. aleph_message.models
module and directly interacts with the session object's attributes, increasing the cognitive complexity of understanding its role in the system.These factors suggest that this PR should be reviewed by a developer with deep knowledge of the project and familiarity with the libraries used. It would be prudent to assign this PR to an experienced reviewer to minimize the risk of introducing bugs due to misunderstanding the complexity of these changes.
Introduce
create_instance()
with slight modifications from https://github.com/aleph-im/aleph-client/pull/156