@@ -277,15 +277,10 @@ export declare enum BlockReason
277277
278278| Member | Value | Description |
279279| --- | --- | --- |
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- =======
284280| 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. |
286282| 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. |
289284
290285## FinishReason
291286
@@ -301,23 +296,15 @@ export declare enum FinishReason
301296
302297| Member | Value | Description |
303298| --- | --- | --- |
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. |
305301| MAX\_TOKENS | <code>"MAX_TOKENS"</code> | The maximum number of tokens as specified in the request was reached. |
306302| OTHER | <code>"OTHER"</code> | Unknown reason. |
303+ | PROHIBITED\_CONTENT | <code>"PROHIBITED_CONTENT"</code> | The candidate content potentially contained prohibited content. |
307304| RECITATION | <code>"RECITATION"</code> | The candidate content was flagged for recitation reasons. |
308305| 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> | |
318306| 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. |
321308
322309## FunctionCallingMode
323310
0 commit comments