|
@@ -88,7 +88,7 @@ class EmbedChain(JSONSerializable):
|
|
|
self._telemetry_props = {"class": self.__class__.__name__}
|
|
|
self.telemetry = AnonymousTelemetry(enabled=self.config.collect_metrics)
|
|
|
# Establish a connection to the SQLite database
|
|
|
- self.connection = sqlite3.connect(SQLITE_PATH)
|
|
|
+ self.connection = sqlite3.connect(SQLITE_PATH, check_same_thread=False)
|
|
|
self.cursor = self.connection.cursor()
|
|
|
|
|
|
# Create the 'data_sources' table if it doesn't exist
|