Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tom_usher
on July 22, 2025
|
parent
|
context
|
favorite
| on:
Show HN: Any-LLM – Lightweight router to access an...
I definitely appreciate all the work that has gone in to LiteLLM but it doesn't take much browsing through the 7000+ line `utils.py` to see where using it could become problematic (
https://github.com/BerriAI/litellm/blob/main/litellm/utils.p...
)
swyx
on July 22, 2025
[–]
can you double click a little bit? many files in professional repos are 1000s of lines. LoC in it self is not a code smell.
otabdeveloper4
on July 22, 2025
|
parent
[–]
LiteLLM is the worst code I have ever read in my life. Quite an accomplishment, lol.
swyx
on July 22, 2025
|
root
|
parent
[–]
ok still not helpful in giving substantial criticism
otabdeveloper4
on July 23, 2025
|
root
|
parent
|
next
[–]
Sorry if this sounds harsh, but I'm not really interested in spending time to code review the worst code I've ever seen in 30 years of programming.
Is LiteLLM's code written by an LLM?
honorable_coder
on July 22, 2025
|
root
|
parent
|
prev
[–]
and you say you aren't "vested" in liteLLM?
swyx
on July 23, 2025
|
root
|
parent
[–]
yes, green text hn account, i am not. i just want help in properly identifying flaws in litellm. clearly nobody here is offering actual analysis.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: