Spaces:
Running
Running
Update email_agent.py
Browse files- email_agent.py +2 -1
email_agent.py
CHANGED
@@ -3,7 +3,8 @@ from typing import Dict
|
|
3 |
|
4 |
import sendgrid
|
5 |
from sendgrid.helpers.mail import Email, Mail, Content, To
|
6 |
-
from agents import Agent, function_tool
|
|
|
7 |
|
8 |
@function_tool
|
9 |
def send_email(subject: str, html_body: str) -> Dict[str, str]:
|
|
|
3 |
|
4 |
import sendgrid
|
5 |
from sendgrid.helpers.mail import Email, Mail, Content, To
|
6 |
+
from agents import Agent, function_tool, AsyncOpenAI, OpenAIChatCompletionsModel
|
7 |
+
|
8 |
|
9 |
@function_tool
|
10 |
def send_email(subject: str, html_body: str) -> Dict[str, str]:
|