Commit dfcbefb
committed
Internal Server Error for UnexpectedModelBehavior
PromptTooLongResponse currently does not represent the actual error.
This change logs the underlying exception and responds with a more
generic Internal Server Error.1 parent fda5528 commit dfcbefb
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
0 commit comments