헝겊에 UI를 추가하는 방법?!?

작성자

카테고리:

← 피드로
DEV Community · Le Huy Hiep · 2026-08-03 개발(SW)

Le Huy Hiep

Just built some FastAPI SSE backend streaming LLM responses token-by-token,
after i got some free time.

Two things broke in production that worked fine locally 🙃:

  • nginx buffers SSE by default. The stream was delivering locally, dead
    silent on Railway. proxy_buffering off, two hours later, fixed.

  • The LLM API returns an empty_retrieval event when no docs match. I wasn’t
    handling it, so the frontend sat on a loading spinner indefinitely. Added
    the handler, resolved.

https://zooming-charm-production-547e.up.railway.app/

Top comments (0)

Subscribe

Code of ConductReport abuse

For further actions, you may consider blocking this person and/or reporting abuse

원문에서 계속 ↗

추출 본문 · 출처: dev.to · https://dev.to/coji831/how-to-add-ui-for-your-rag-51bl

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다