Commit dc884b0
committed
endpoints: Surface failed event errors in logs
I wasn't able to make out what was wrong while running LCS, as the
unexpected error message wasn't much to go on with. Upon surfacing the
actual error, I noticed that the failed event fired since I had hit my
token limit, which I believe is useful enough information to be
surfaced.
I understand if this wasn't done earlier to prevent sensitive data
leakage, in which case, I'll close this, or add a case to surface only
when token limit is hit, although that may be tricky since different
LLMs report that in different ways.
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>1 parent 76e13bf commit dc884b0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
0 commit comments