Skip to content

Commit 8d6db47

Browse files
committed
Take out temporary retry_strategy = none since it is not fnllm compatible
1 parent d0a4c33 commit 8d6db47

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

graphrag/index/validate_config.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
def validate_config_names(parameters: GraphRagConfig) -> None:
1818
"""Validate config file for model deployment name typos, by running a quick test message for each."""
1919
for id, config in parameters.models.items():
20-
# temporarily disable retry since this is just a connectivity test
21-
retry_strategy = config.retry_strategy
22-
config.retry_strategy = "none"
23-
2420
if config.type in ["chat", "azure_openai", "openai"]:
2521
llm = ModelManager().register_chat(
2622
name="test-llm",
@@ -55,5 +51,3 @@ def validate_config_names(parameters: GraphRagConfig) -> None:
5551
logger.error(f"Embedding configuration error detected.\n{e}") # noqa
5652
print(f"Failed to validate embedding model ({id}) params", e) # noqa: T201
5753
sys.exit(1)
58-
59-
config.retry_strategy = retry_strategy

0 commit comments

Comments
 (0)