Skip to content

Commit

Permalink
Update tools.py - Spelling Mistake Correction
Browse files Browse the repository at this point in the history
Updated the spelling of "result" in tools.py of LangGraph example.
  • Loading branch information
HarshavardhanNetha authored May 2, 2024
1 parent 906e00d commit f260cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CrewAI-LangGraph/src/crew/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ def create_draft(data):
email, subject, message = data.split('|')
gmail = GmailToolkit()
draft = GmailCreateDraft(api_resource=gmail.api_resource)
resutl = draft({
result = draft({
'to': [email],
'subject': subject,
'message': message
})
return f"\nDraft created: {resutl}\n"
return f"\nDraft created: {result}\n"



0 comments on commit f260cba

Please sign in to comment.