Kryst4lDem0ni4s opened a new pull request, #181:
URL: https://github.com/apache/incubator-hugegraph-ai/pull/181

   Improved the exception handling in HGraphConfig for API version retrieval.
   
   Cause of error discovered:
   The traceback.print_exception function requires two more positional 
arguments, value and tb, which are not provided in the calls from KG Builder.
   i.e:
   
   ```
   builder = KgBuilder(LLMs().get_chat_llm(), Embeddings().get_embedding(), 
get_hg_client())
   File 
"C:\Users\Khwaish\.vscode\incubator-hugegraph-ai\hugegraph-llm\src\hugegraph_llm\utils\hugegraph_utils.py",
 line 39, in get_hg_client
   return PyHugeClient(
   File 
"C:\Users\Khwaish\.vscode\incubator-hugegraph-ai\.venv\lib\site-packages\pyhugegraph\client.py",
 line 59, in __init__
   self.cfg = HGraphConfig(ip, port, user, pwd, graph, graphspace, timeout or 
(0.5, 15.0))
   File "<string>", line 11, in __init__
   File 
"C:\Users\Khwaish\.vscode\incubator-hugegraph-ai\.venv\lib\site-packages\pyhugegraph\utils\huge_config.py",
 line 66, in __post_init__
   traceback.print_exception(e)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to