添加GraphRAG
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user