File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 1717def 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
You can’t perform that action at this time.
0 commit comments