From e10e31a4642f6519e789bd98dd42b542b72a4527 Mon Sep 17 00:00:00 2001 From: pasant9 Date: Wed, 23 Oct 2024 10:11:45 +0530 Subject: [PATCH] Increase default max_tokens for Mistral APIs --- .../src/main/resources/api_definitions/mistral_api.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/api_definitions/mistral_api.yaml b/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/api_definitions/mistral_api.yaml index 145c8e296ed0..b6cb02a99f58 100644 --- a/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/api_definitions/mistral_api.yaml +++ b/features/apimgt/org.wso2.carbon.apimgt.core.feature/src/main/resources/api_definitions/mistral_api.yaml @@ -2031,6 +2031,7 @@ components: minimum: 0 - type: 'null' title: Max Tokens + default: 300 description: >- The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the @@ -2176,6 +2177,7 @@ components: minimum: 0 - type: 'null' title: Max Tokens + default: 300 description: >- The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the @@ -2424,6 +2426,7 @@ components: minimum: 0 - type: 'null' title: Max Tokens + default: 300 description: >- The maximum number of tokens to generate in the completion. The token count of your prompt plus `max_tokens` cannot exceed the