Skip to content

Commit 9cd9a87

Browse files
committed
chore: fix example
Committing even though this is not the bug we were looking for
1 parent 8cb9646 commit 9cd9a87

File tree

3 files changed

+5
-20
lines changed

3 files changed

+5
-20
lines changed

examples/together/depth_search_graph_together.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77

88
load_dotenv()
99

10-
openai_key = os.getenv("OPENAI_APIKEY")
10+
together_key = os.getenv("TOGETHER_APIKEY")
1111

1212
graph_config = {
1313
"llm": {
14-
"api_key": "***************************",
15-
"model": "oneapi/qwen-turbo",
16-
"base_url": "http://127.0.0.1:3000/v1", # 设置 OneAPI URL
14+
"model": "togetherai/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo",
15+
"api_key": together_key,
1716
},
1817
"verbose": True,
1918
"headless": False,

requirements-dev.lock

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ anyio==4.4.0
3030
astroid==3.2.4
3131
# via pylint
3232
async-timeout==4.0.3
33-
# via aiohttp
34-
# via langchain
3533
# via scrapegraphai
3634
attrs==24.2.0
3735
# via aiohttp
@@ -80,9 +78,6 @@ distro==1.9.0
8078
# via openai
8179
docutils==0.19
8280
# via sphinx
83-
exceptiongroup==1.2.2
84-
# via anyio
85-
# via pytest
8681
fastapi==0.112.0
8782
# via burr
8883
fastapi-pagination==0.12.26
@@ -136,6 +131,7 @@ graphviz==0.20.3
136131
# via burr
137132
greenlet==3.0.3
138133
# via playwright
134+
# via sqlalchemy
139135
grpcio==1.65.4
140136
# via google-api-core
141137
# via grpcio-status
@@ -504,9 +500,6 @@ tokenizers==0.19.1
504500
# via transformers
505501
toml==0.10.2
506502
# via streamlit
507-
tomli==2.0.1
508-
# via pylint
509-
# via pytest
510503
tomlkit==0.13.0
511504
# via pylint
512505
tornado==6.4.1
@@ -524,8 +517,6 @@ transformers==4.44.2
524517
# via scrapegraphai
525518
typing-extensions==4.12.2
526519
# via altair
527-
# via anyio
528-
# via astroid
529520
# via fastapi
530521
# via fastapi-pagination
531522
# via google-generativeai
@@ -540,7 +531,6 @@ typing-extensions==4.12.2
540531
# via sqlalchemy
541532
# via streamlit
542533
# via typing-inspect
543-
# via uvicorn
544534
typing-inspect==0.9.0
545535
# via dataclasses-json
546536
# via sf-hamilton

requirements.lock

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ anyio==4.4.0
1919
# via httpx
2020
# via openai
2121
async-timeout==4.0.3
22-
# via aiohttp
23-
# via langchain
2422
# via scrapegraphai
2523
attrs==23.2.0
2624
# via aiohttp
@@ -50,8 +48,6 @@ dill==0.3.8
5048
# via multiprocess
5149
distro==1.9.0
5250
# via openai
53-
exceptiongroup==1.2.2
54-
# via anyio
5551
fastembed==0.3.6
5652
# via scrapegraphai
5753
filelock==3.15.4
@@ -91,6 +87,7 @@ googlesearch-python==1.2.5
9187
# via scrapegraphai
9288
greenlet==3.0.3
9389
# via playwright
90+
# via sqlalchemy
9491
grpcio==1.65.1
9592
# via google-api-core
9693
# via grpcio-status
@@ -371,7 +368,6 @@ tqdm==4.66.4
371368
transformers==4.44.2
372369
# via scrapegraphai
373370
typing-extensions==4.12.2
374-
# via anyio
375371
# via google-generativeai
376372
# via huggingface-hub
377373
# via langchain-core

0 commit comments

Comments
 (0)