@@ -277,15 +277,10 @@ export declare enum BlockReason
277
277
278
278
| Member | Value | Description |
279
279
| --- | --- | --- |
280
- <<<<<<< HEAD
281
- | OTHER | <code>"OTHER"</code> | Content was blocked, but the reason is uncategorized. |
282
- | SAFETY | <code>"SAFETY"</code> | Content was blocked by safety settings. |
283
- =======
284
280
| BLOCKLIST | <code>"BLOCKLIST"</code> | Content was blocked because it contained terms from the terminology blocklist. |
285
- | OTHER | <code>"OTHER"</code> | |
281
+ | OTHER | <code>"OTHER"</code> | Content was blocked, but the reason is uncategorized. |
286
282
| PROHIBITED\_CONTENT | <code>"PROHIBITED_CONTENT"</code> | Content was blocked due to prohibited content. |
287
- | SAFETY | <code>"SAFETY"</code> | |
288
- >>>>>>> main
283
+ | SAFETY | <code>"SAFETY"</code> | Content was blocked by safety settings. |
289
284
290
285
## FinishReason
291
286
@@ -301,23 +296,15 @@ export declare enum FinishReason
301
296
302
297
| Member | Value | Description |
303
298
| --- | --- | --- |
304
- <<<<<<< HEAD
299
+ | BLOCKLIST | <code>"BLOCKLIST"</code> | The candidate content contained forbidden terms. |
300
+ | MALFORMED\_FUNCTION\_CALL | <code>"MALFORMED_FUNCTION_CALL"</code> | The function call generated by the model was invalid. |
305
301
| MAX\_TOKENS | <code>"MAX_TOKENS"</code> | The maximum number of tokens as specified in the request was reached. |
306
302
| OTHER | <code>"OTHER"</code> | Unknown reason. |
303
+ | PROHIBITED\_CONTENT | <code>"PROHIBITED_CONTENT"</code> | The candidate content potentially contained prohibited content. |
307
304
| RECITATION | <code>"RECITATION"</code> | The candidate content was flagged for recitation reasons. |
308
305
| SAFETY | <code>"SAFETY"</code> | The candidate content was flagged for safety reasons. |
309
- | STOP | <code>"STOP"</code> | Natural stop point of the model or provided stop sequence. |
310
- =======
311
- | BLOCKLIST | <code>"BLOCKLIST"</code> | The candidate content contained forbidden terms. |
312
- | MALFORMED\_FUNCTION\_CALL | <code>"MALFORMED_FUNCTION_CALL"</code> | The function call generated by the model was invalid. |
313
- | MAX\_TOKENS | <code>"MAX_TOKENS"</code> | |
314
- | OTHER | <code>"OTHER"</code> | |
315
- | PROHIBITED\_CONTENT | <code>"PROHIBITED_CONTENT"</code> | The candidate content potentially contained prohibited content. |
316
- | RECITATION | <code>"RECITATION"</code> | |
317
- | SAFETY | <code>"SAFETY"</code> | |
318
306
| SPII | <code>"SPII"</code> | The candidate content potentially contained Sensitive Personally Identifiable Information (SPII). |
319
- | STOP | <code>"STOP"</code> | |
320
- >>>>>>> main
307
+ | STOP | <code>"STOP"</code> | Natural stop point of the model or provided stop sequence. |
321
308
322
309
## FunctionCallingMode
323
310
0 commit comments