Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Feature] I hope the error messages during demo runtime can be more prominent #247

Open
Assignees
Labels
enhancementNew feature or request

Description

Search before asking

  • I had searched in the feature 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

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /