Skip to content

Commit 13fe209

Browse files
committed
chore: fixed imports
1 parent 75b5fda commit 13fe209

6 files changed

Lines changed: 7 additions & 5 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ models
227227
input
228228
results
229229
checkpoints
230+
chroma_db
231+
uploads
230232

231233
# Custom files
232234
.env*

src/model/agents/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ async def create_message(to: str, subject: str, message: str) -> str:
143143
print(type(elaborated_message))
144144

145145
msg = MIMEText(
146-
elaborated_message["email"]["body"]
146+
elaborated_message
147147
+ "\n\nThis email was sent via Sentient, a personal AI companion with agentic integrations and graph memory.\n\nLearn more at https://existence.technology/sentient\n\n Emails are generated by AI models and may not always be accurate or contextually relevant."
148148
)
149149
msg.add_header("To", to)

src/model/chat/runnables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
import json
33
import requests
4-
from typing import Dict, Any, List, Union, Optional, Generator
4+
from typing import Dict, Any, List, Union, Optional, Generator, Tuple
55
from abc import ABC, abstractmethod
66
from prompts import *
77
from dotenv import load_dotenv

src/model/common/runnables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
import json
33
import requests
4-
from typing import Dict, Any, List, Union, Optional, Generator
4+
from typing import Dict, Any, List, Union, Optional, Generator, Tuple
55
from abc import ABC, abstractmethod
66
from prompts import *
77
from dotenv import load_dotenv

src/model/memory/runnables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from wrapt_timeout_decorator import * # Importing timeout decorator for functions from wrapt_timeout_decorator library
44
from helpers import * # Importing helper functions from helpers.py
55
from constants import * # Importing constant variables from constants.py
6-
from typing import Optional, Dict, Any, List, Union, Generator
6+
from typing import Optional, Dict, Any, List, Union, Generator, Tuple
77
from abc import ABC, abstractmethod
88
import requests # For making HTTP requests
99
from formats import * # Importing format specifications or utilities from formats.py

src/model/scraper/runnables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import ast # For Abstract Syntax Tree manipulation, used for safely evaluating strings as Python literals
99
import json # For working with JSON data
1010
from sys import platform # To get system platform information
11-
from typing import Optional, Dict, Any, List, Union, Generator # For type hints
11+
from typing import Optional, Dict, Any, List, Union, Generator, Tuple # For type hints
1212
from dotenv import load_dotenv
1313
from abc import ABC, abstractmethod
1414
import keyring

0 commit comments

Comments
 (0)