From d95172121fab5de8799b2c889256c919a14b0578 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 14 Jul 2026 02:57:02 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/Vapi/Generated/Vapi.Models.VapiModel.g.cs | 11 ----------- src/libs/Vapi/openapi.yaml | 6 ------ 2 files changed, 17 deletions(-) diff --git a/src/libs/Vapi/Generated/Vapi.Models.VapiModel.g.cs b/src/libs/Vapi/Generated/Vapi.Models.VapiModel.g.cs index c9e755eb..1d6109aa 100644 --- a/src/libs/Vapi/Generated/Vapi.Models.VapiModel.g.cs +++ b/src/libs/Vapi/Generated/Vapi.Models.VapiModel.g.cs @@ -80,12 +80,6 @@ public sealed partial class VapiModel [global::System.Text.Json.Serialization.JsonPropertyName("temperature")] public double? Temperature { get; set; } - /// - /// This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. - /// - [global::System.Text.Json.Serialization.JsonPropertyName("maxTokens")] - public double? MaxTokens { get; set; } - /// /// This determines whether we detect user's emotion while they speak and send it as an additional info to model.
/// Default `false` because the model is usually are good at understanding the user's emotion from text.
@@ -149,9 +143,6 @@ public sealed partial class VapiModel /// /// This is the temperature that will be used for calls. Default is 0.5. /// - /// - /// This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250. - /// /// /// This determines whether we detect user's emotion while they speak and send it as an additional info to model.
/// Default `false` because the model is usually are good at understanding the user's emotion from text.
@@ -176,7 +167,6 @@ public VapiModel( string? workflowId, global::Vapi.WorkflowUserEditable? workflow, double? temperature, - double? maxTokens, bool? emotionRecognitionEnabled, double? numFastTurns) { @@ -190,7 +180,6 @@ public VapiModel( this.WorkflowId = workflowId; this.Workflow = workflow; this.Temperature = temperature; - this.MaxTokens = maxTokens; this.EmotionRecognitionEnabled = emotionRecognitionEnabled; this.NumFastTurns = numFastTurns; } diff --git a/src/libs/Vapi/openapi.yaml b/src/libs/Vapi/openapi.yaml index 6ba3813e..c126ee97 100644 --- a/src/libs/Vapi/openapi.yaml +++ b/src/libs/Vapi/openapi.yaml @@ -22664,12 +22664,6 @@ "minimum": 0, "maximum": 2 }, - "maxTokens": { - "type": "number", - "description": "This is the max number of tokens that the assistant will be allowed to generate in each turn of the conversation. Default is 250.", - "minimum": 50, - "maximum": 10000 - }, "emotionRecognitionEnabled": { "type": "boolean", "description": "This determines whether we detect user's emotion while they speak and send it as an additional info to model.\n\nDefault `false` because the model is usually are good at understanding the user's emotion from text.\n\n@default false"