3 ms·
Maybe it's spite-driven development, but I'd love to hear about someone who, upon learning that LLMs are suggesting endpoints in their API that don't exist, imp
by Tcepsa 1y ago
Maybe it's spite-driven development, but I'd love to hear about someone who, upon learning that LLMs are suggesting endpoints in their API that don't exist, implements them specifically to respond with a status code[0] of "421: Misdirected Request". Or, for something less snarky and more in keeping with the actual intent of the code, "501: Not Implemented". If the potentially-implied "but it might be, later" of 501 is untenable, I humbly propose this new code: "513: Your Coding Assistant Is Wrong"
[0]: https://en.wikipedia.org/wiki/List_of_HTTP_status_codes https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
- Bluestein 1y ago> "513: Your Coding Assistant Is Wrong" You made me chuckle. Well played. Great stuff :) May I, simply, also suggest: HTTP 407 Hallucination Meaning: The server understands the request but believes it to be incongruous with reality.-
- LiKao 1y agoYes, it should definitely be in the 400 space of HTML error codes. As 400 -> "You are incorrect" while 500 -> "We messed up".
- hi_hi 1y agoI humbly request, if you are going to do this, please, please...use the 418 response. It deserves wider adoption :-)
- Bluestein 1y ago(on that note, I'm putting the kettle on :)
- latentsea 1y agoI think it's a good representation of a hallucination.
- Dilettante_ 1y agoBit of a pet peeve: 418 is clearly defined as "I am a teapot", not "whatever I want it to mean". Please do not use it for anything other than its specified purpose, even if it is a joke.
- defrost 1y agoCore identity panic response? * https://www.youtube.com/watch?v=kLQStcdhAGA https://www.youtube.com/watch?v=kLQStcdhAGA * https://www.goodiesruleok.com/articles.php?id=27 https://www.goodiesruleok.com/articles.php?id=27
- hi_hi 1y agoIs one being a little precious about one being a teapot!?
- stavros 1y agoAre you a teapot? If you were, maybe you'd be precious about people falsely claiming to be one too!
- Dilettante_ 1y agoIt's really more about how when I say "I am a teapot", I want people to think "Oh, he's a teapot!" and not "He might be a teapot, or he might be chiding me for misusing llms or he might be signaling that the monkey is out of bananas or [...]"
- stavros 1y agoI agree, though that means I really should stop returning my 404 - Server Unavailable response, but you'll never have my 500 - OK.
- hi_hi 1y agoWhat would be an appropriate response code for "He might be a teapot, or he might be chiding me for misusing llms or he might be signaling that the monkey is out of bananas or [...]"?
- snthpy 1y ago+1 for 513: Your Coding Assistant Is Wrong" If we have 418, why not 513?
- user_of_the_wek 1y agoReminds me of signs like this: https://www.reddit.com/r/ScarySigns/comments/dhzov1/your_gps_is_wrong/ https://www.reddit.com/r/ScarySigns/comments/dhzov1/your_gps...