Ethereal-O opened a new issue, #247:
URL: https://github.com/apache/incubator-hugegraph-ai/issues/247

   ### Search before asking
   
   - [x] I had searched in the 
[feature](https://github.com/apache/incubator-hugegraph-ai/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Feature Description (功能描述)
   
   When I run the demo program hugegraph_1lm.demo.rag_demo.app, I complete the 
LLM configuration and receive a prompt stating that it has been successfully 
configured. My account limit is insufficient to meet the request, so an error 
occurred when making the request. However, the error only told me 'str object 
has no attribute 'usage' ', which took me some time to discover the real reason.
   
   Another method that is relatively easy to replicate is to try modifying the 
api_mase address and removing the suffix '/v1'. The application configuration 
still shows a success message, but an error message will be generated during 
runtime. The error message does not clearly indicate that there may be a 
configuration issue.
   
   I hope to display the information returned by the LLM interface, whether in 
the log or on the frontend interface. This may help users better identify 
configuration issues.
   
   
![Image](https://github.com/user-attachments/assets/89f43dfa-1145-4d98-9907-c8a4de53dbf9)
   
   ### Are you willing to submit a PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: dev-unsubscr...@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to