Skip to content

Commit 1f4e251

Browse files
committed
chore: add optional api_base_url to the example
1 parent 5dfb020 commit 1f4e251

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

github_code_indexing/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ def github_code_indexing_flow(
6565
"*.mdx",
6666
],
6767
excluded_patterns=["**/.*", "target", "**/node_modules"],
68+
# Optional, can be omitted if using "https://github.com"
69+
api_base_url="https://api.github.com",
6870
)
6971
)
7072
code_embeddings = data_scope.add_collector()

0 commit comments

Comments
 (0)