Skip to content

Commit

Permalink
Test to fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasilije1990 committed Dec 28, 2023
1 parent 0eae4e9 commit 37e7a78
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cognitive_architecture/fetch_secret.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@


def fetch_secret(secret_name, region_name, env_file_path):
print("Initializing session")
session = boto3.session.Session()
print("Session initialized")
client = session.client(service_name="secretsmanager", region_name=region_name)
print("Client initialized")

try:
response = client.get_secret_value(SecretId=secret_name)
Expand Down Expand Up @@ -53,7 +56,7 @@ def fetch_secret(secret_name, region_name, env_file_path):
if os.path.exists(env_file):
# Load default environment variables (.env)
load_dotenv()
print("Talk to the AI!")
print("cognee is running")


else:
Expand Down

0 comments on commit 37e7a78

Please sign in to comment.