|
|
|
|
|
by Tcepsa
330 days 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 |
|
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.-