Skip to content

Commit

Permalink
corrected uri return type
Browse files Browse the repository at this point in the history
  • Loading branch information
norton120 committed Dec 2, 2024
1 parent bf16f6c commit 62b0147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions letta/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def letta_pg_uri(self) -> str:
return f"postgresql+pg8000://{self.pg_user}:{self.pg_password}@{self.pg_host}:{self.pg_port}/{self.pg_db}"
else:
# start the pg binary. This is the default in-memory postgres that replaces SQLite/Chroma
db = self.launch_pg_binary()
return db.uri
db_uri = self.launch_pg_binary()
return db_uri

@property
def letta_pg_uri_no_default(self) -> str:
Expand Down

0 comments on commit 62b0147

Please sign in to comment.