Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#247 2 commenti 3 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@goldigd05 ci sta già lavorando.

Dal 5/1/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

enhancement
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
Lingua principale
Python
Stelle
144
Fork
91
Merge medio
7h 27m
PR unite (30g)
7

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/hugegraph-ai

Tutte le issue di apache/hugegraph-ai

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.