添加GraphRAG

This commit is contained in:
2026-03-31 19:07:20 +08:00
parent d2cf97387b
commit be26ad3eee
8 changed files with 51 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ _WRITE_PATTERN = re.compile(
def _get_client() -> anthropic.Anthropic:
global _client
if _client is None:
_client = anthropic.Anthropic(api_key=os.getenv("ANTHROPIC_API_KEY"))
_client = anthropic.Anthropic(base_url=os.getenv("ANTHROPIC_BASE_URL"))
return _client