File tree Expand file tree Collapse file tree 2 files changed +54
-1
lines changed
Expand file tree Collapse file tree 2 files changed +54
-1
lines changed Original file line number Diff line number Diff line change 44from langchain_groq import ChatGroq
55from langgraph .prebuilt import ToolExecutor
66from langchain_core .tools import Tool
7+ import os
8+ from dotenv import load_dotenv
9+ load_dotenv ()
710
811class BaseTool :
912 def __init__ (self ):
1013 self .model = ChatGroq (
11- api_key = "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" ,
14+ api_key = os . getenv ( "GROQ_API_KEY" ) ,
1215 model = "llama-3.3-70b-versatile" ,
1316 temperature = 0
1417 )
Original file line number Diff line number Diff line change 1+ annotated-types == 0.7.0
2+ anyio == 4.7.0
3+ certifi == 2024.12.14
4+ cffi == 1.17.1
5+ charset-normalizer == 3.4.1
6+ click == 8.1.8
7+ cryptography == 43.0.3
8+ distro == 1.9.0
9+ groq == 0.13.1
10+ h11 == 0.14.0
11+ httpcore == 1.0.7
12+ httpx == 0.28.1
13+ idna == 3.10
14+ jiter == 0.8.2
15+ jsonpatch == 1.33
16+ jsonpointer == 3.0.0
17+ jsonschema_rs == 0.25.1
18+ langchain-core == 0.3.28
19+ langchain-groq == 0.2.2
20+ langchain-openai == 0.2.14
21+ langgraph == 0.2.60
22+ langgraph-api == 0.0.15
23+ langgraph-checkpoint == 2.0.9
24+ langgraph-cli == 0.1.65
25+ langgraph-sdk == 0.1.48
26+ langsmith == 0.2.7
27+ msgpack == 1.1.0
28+ openai == 1.58.1
29+ orjson == 3.10.13
30+ packaging == 24.2
31+ pycparser == 2.22
32+ pydantic == 2.10.4
33+ pydantic_core == 2.27.2
34+ PyJWT == 2.10.1
35+ python-dotenv == 1.0.1
36+ PyYAML == 6.0.2
37+ regex == 2024.11.6
38+ requests == 2.32.3
39+ requests-toolbelt == 1.0.0
40+ sniffio == 1.3.1
41+ sse-starlette == 2.1.3
42+ starlette == 0.45.1
43+ structlog == 24.4.0
44+ tenacity == 8.5.0
45+ tiktoken == 0.8.0
46+ tqdm == 4.67.1
47+ typing_extensions == 4.12.2
48+ urllib3 == 2.3.0
49+ uvicorn == 0.34.0
50+ watchfiles == 1.0.3
You can’t perform that action at this time.
0 commit comments