Skip to content

Commit 4ec0294

Browse files
authored
Merge pull request #552 from zxrys/feature/fix-demo_human-and-gemini-problem
Fix: `.env.example` gemini endpoint issue; demo_human.yaml config out…
2 parents 8d67831 + 5aaf235 commit 4ec0294

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ API_KEY=sk-your-openai-api-key-here
99

1010
# Example BASE_URL values:
1111
# - OpenAI: https://api.openai.com/v1
12-
# - Gemini: https://generativelanguage.googleapis.com/v1beta/openai/
12+
# - Gemini: https://generativelanguage.googleapis.com
1313
# - LM Studio: http://localhost:1234/v1
1414
# - Ollama: http://localhost:11434/v1
1515

requirements.txt

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
11
pyyaml
22
openai
3-
google-genai
43
tenacity
54
mcp
65
fastmcp
76
faiss-cpu
8-
fastapi
7+
fastapi==0.124.0
8+
click>=8.1.8,<8.3
99
uvicorn
1010
websockets
1111
wsproto
12-
pydantic
12+
pydantic==2.12.5
1313
requests
1414
pytest
15-
pysqlite3
1615
ddgs
1716
beautifulsoup4
1817
matplotlib
1918
networkx
2019
cartopy
20+
pandas>=2.3.3
21+
openpyxl>=3.1.2
22+
numpy>=2.3.5
23+
seaborn>=0.13.2
24+
google-genai>=1.52.0
25+
chardet>=5.2.0
26+
pygame>=2.6.1
27+
filelock>=3.20.1
28+
markdown>=3.10
29+
xhtml2pdf>=0.2.17

yaml_instance/demo_human.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ graph:
1010
- id: A
1111
type: agent
1212
config:
13+
provider: openai
1314
base_url: ${BASE_URL}
1415
api_key: ${API_KEY}
1516
name: gpt-4o
@@ -36,6 +37,7 @@ graph:
3637
- id: C
3738
type: agent
3839
config:
40+
provider: openai
3941
base_url: ${BASE_URL}
4042
api_key: ${API_KEY}
4143
name: gpt-4o

0 commit comments

Comments
 (0)