Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files
agent.py
CHANGED
@@ -26,21 +26,11 @@ from youtube_transcript_api import YouTubeTranscriptApi, TranscriptsDisabled, No
|
|
26 |
import sympy
|
27 |
import wolframalpha
|
28 |
import sys
|
29 |
-
from langchain_core.tools import tool
|
30 |
import requests
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
# Before invoking your graph:
|
42 |
-
sys.setrecursionlimit(100) # Increase from default 25
|
43 |
-
|
44 |
load_dotenv()
|
45 |
|
46 |
@tool
|
|
|
26 |
import sympy
|
27 |
import wolframalpha
|
28 |
import sys
|
|
|
29 |
import requests
|
30 |
|
31 |
|
32 |
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
load_dotenv()
|
35 |
|
36 |
@tool
|