Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,6 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant1TypeNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2TypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CreateAssistantRequestToolResourcesFileSearchVectorStoreChunkingStrategyVariant2TypeNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.VerbosityJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.VerbosityNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CreateChatCompletionRequestVariant2AudioFormatJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CreateChatCompletionRequestVariant2AudioFormatNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.VoiceIdsSharedEnumJsonConverter),
Expand All @@ -395,6 +393,8 @@ namespace tryAGI.OpenAI
typeof(global::tryAGI.OpenAI.JsonConverters.CustomToolChatCompletionsCustomFormatVariant2TypeNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CustomToolChatCompletionsTypeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CustomToolChatCompletionsTypeNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.VerbosityJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.VerbosityNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.WebSearchContextSizeJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.WebSearchContextSizeNullableJsonConverter),
typeof(global::tryAGI.OpenAI.JsonConverters.CreateChatCompletionRequestVariant2WebSearchOptionsUserLocationTypeJsonConverter),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2438,139 +2438,139 @@ public sealed partial class JsonSerializerContextTypes
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.Verbosity? Type603 { get; set; }
public global::tryAGI.OpenAI.CreateModelResponsePropertiesVariant2? Type603 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CreateModelResponsePropertiesVariant2? Type604 { get; set; }
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2? Type604 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2? Type605 { get; set; }
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2Audio? Type605 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2Audio? Type606 { get; set; }
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2AudioFormat? Type606 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2AudioFormat? Type607 { get; set; }
public global::tryAGI.OpenAI.VoiceIdsShared? Type607 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.VoiceIdsShared? Type608 { get; set; }
public global::tryAGI.OpenAI.VoiceIdsSharedEnum? Type608 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.VoiceIdsSharedEnum? Type609 { get; set; }
public global::tryAGI.OpenAI.AnyOf<global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2FunctionCall?, global::tryAGI.OpenAI.ChatCompletionFunctionCallOption>? Type609 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.AnyOf<global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2FunctionCall?, global::tryAGI.OpenAI.ChatCompletionFunctionCallOption>? Type610 { get; set; }
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2FunctionCall? Type610 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2FunctionCall? Type611 { get; set; }
public global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ChatCompletionFunctions>? Type611 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ChatCompletionFunctions>? Type612 { get; set; }
public global::System.Collections.Generic.Dictionary<string, int>? Type612 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.Dictionary<string, int>? Type613 { get; set; }
public global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ChatCompletionRequestMessage>? Type613 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ChatCompletionRequestMessage>? Type614 { get; set; }
public global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ResponseModalitie>? Type614 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ResponseModalitie>? Type615 { get; set; }
public global::tryAGI.OpenAI.ResponseModalitie? Type615 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.ResponseModalitie? Type616 { get; set; }
public global::tryAGI.OpenAI.ModelIdsShared? Type616 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.ModelIdsShared? Type617 { get; set; }
public global::tryAGI.OpenAI.PredictionContent? Type617 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.PredictionContent? Type618 { get; set; }
public global::tryAGI.OpenAI.PredictionContentType? Type618 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.PredictionContentType? Type619 { get; set; }
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2PredictionDiscriminator? Type619 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2PredictionDiscriminator? Type620 { get; set; }
public global::tryAGI.OpenAI.AnyOf<global::tryAGI.OpenAI.ResponseFormatText, global::tryAGI.OpenAI.ResponseFormatJsonSchema, global::tryAGI.OpenAI.ResponseFormatJsonObject>? Type620 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.AnyOf<global::tryAGI.OpenAI.ResponseFormatText, global::tryAGI.OpenAI.ResponseFormatJsonSchema, global::tryAGI.OpenAI.ResponseFormatJsonObject>? Type621 { get; set; }
public global::tryAGI.OpenAI.StopConfiguration? Type621 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.StopConfiguration? Type622 { get; set; }
public global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem>? Type622 { get; set; }
/// <summary>
///
/// </summary>
public global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem>? Type623 { get; set; }
public global::tryAGI.OpenAI.ToolsItem? Type623 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.ToolsItem? Type624 { get; set; }
public global::tryAGI.OpenAI.CustomToolChatCompletions? Type624 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CustomToolChatCompletions? Type625 { get; set; }
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustom? Type625 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustom? Type626 { get; set; }
public global::tryAGI.OpenAI.Format2? Type626 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.Format2? Type627 { get; set; }
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant1? Type627 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant1? Type628 { get; set; }
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant1Type? Type628 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant1Type? Type629 { get; set; }
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant2? Type629 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant2? Type630 { get; set; }
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant2Grammar? Type630 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant2Grammar? Type631 { get; set; }
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant2GrammarSyntax? Type631 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant2GrammarSyntax? Type632 { get; set; }
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant2Type? Type632 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatVariant2Type? Type633 { get; set; }
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatDiscriminator? Type633 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CustomToolChatCompletionsCustomFormatDiscriminator? Type634 { get; set; }
public global::tryAGI.OpenAI.CustomToolChatCompletionsType? Type634 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CustomToolChatCompletionsType? Type635 { get; set; }
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2ToolDiscriminator? Type635 { get; set; }
/// <summary>
///
/// </summary>
public global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2ToolDiscriminator? Type636 { get; set; }
public global::tryAGI.OpenAI.Verbosity? Type636 { get; set; }
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,16 @@ public sealed partial class CreateChatCompletionRequestVariant2
[global::System.Text.Json.Serialization.JsonPropertyName("top_logprobs")]
public int? TopLogprobs { get; set; }

/// <summary>
/// Constrains the verbosity of the model's response. Lower values will result in<br/>
/// more concise responses, while higher values will result in more verbose responses.<br/>
/// Currently supported values are `low`, `medium`, and `high`.<br/>
/// Default Value: medium
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("verbosity")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.VerbosityJsonConverter))]
public global::tryAGI.OpenAI.Verbosity? Verbosity { get; set; }

/// <summary>
/// This tool searches the web for relevant results to use in a response.<br/>
/// Learn more about the [web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat).
Expand Down Expand Up @@ -396,6 +406,12 @@ public sealed partial class CreateChatCompletionRequestVariant2
/// return at each token position, each with an associated log probability.<br/>
/// `logprobs` must be set to `true` if this parameter is used.
/// </param>
/// <param name="verbosity">
/// Constrains the verbosity of the model's response. Lower values will result in<br/>
/// more concise responses, while higher values will result in more verbose responses.<br/>
/// Currently supported values are `low`, `medium`, and `high`.<br/>
/// Default Value: medium
/// </param>
/// <param name="webSearchOptions">
/// This tool searches the web for relevant results to use in a response.<br/>
/// Learn more about the [web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat).
Expand Down Expand Up @@ -426,6 +442,7 @@ public CreateChatCompletionRequestVariant2(
global::tryAGI.OpenAI.ChatCompletionToolChoiceOption? toolChoice,
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.ToolsItem>? tools,
int? topLogprobs,
global::tryAGI.OpenAI.Verbosity? verbosity,
global::tryAGI.OpenAI.CreateChatCompletionRequestVariant2WebSearchOptions? webSearchOptions)
{
this.Messages = messages ?? throw new global::System.ArgumentNullException(nameof(messages));
Expand All @@ -450,6 +467,7 @@ public CreateChatCompletionRequestVariant2(
this.ToolChoice = toolChoice;
this.Tools = tools;
this.TopLogprobs = topLogprobs;
this.Verbosity = verbosity;
this.WebSearchOptions = webSearchOptions;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,6 @@ public sealed partial class ModelResponseProperties
[global::System.Obsolete("This property marked as deprecated.")]
public string? User { get; set; }

/// <summary>
/// Constrains the verbosity of the model's response. Lower values will result in<br/>
/// more concise responses, while higher values will result in more verbose responses.<br/>
/// Currently supported values are `low`, `medium`, and `high`.<br/>
/// Default Value: medium
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("verbosity")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.VerbosityJsonConverter))]
public global::tryAGI.OpenAI.Verbosity? Verbosity { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand Down Expand Up @@ -152,12 +142,6 @@ public sealed partial class ModelResponseProperties
/// Default Value: 1<br/>
/// Example: 1
/// </param>
/// <param name="verbosity">
/// Constrains the verbosity of the model's response. Lower values will result in<br/>
/// more concise responses, while higher values will result in more verbose responses.<br/>
/// Currently supported values are `low`, `medium`, and `high`.<br/>
/// Default Value: medium
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand All @@ -168,8 +152,7 @@ public ModelResponseProperties(
global::tryAGI.OpenAI.ServiceTier? serviceTier,
double? temperature,
int? topLogprobs,
double? topP,
global::tryAGI.OpenAI.Verbosity? verbosity)
double? topP)
{
this.Metadata = metadata;
this.PromptCacheKey = promptCacheKey;
Expand All @@ -178,7 +161,6 @@ public ModelResponseProperties(
this.Temperature = temperature;
this.TopLogprobs = topLogprobs;
this.TopP = topP;
this.Verbosity = verbosity;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ public sealed partial class ResponsePropertiesText
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.TextResponseFormatConfigurationJsonConverter))]
public global::tryAGI.OpenAI.TextResponseFormatConfiguration? Format { get; set; }

/// <summary>
/// Constrains the verbosity of the model's response. Lower values will result in<br/>
/// more concise responses, while higher values will result in more verbose responses.<br/>
/// Currently supported values are `low`, `medium`, and `high`.<br/>
/// Default Value: medium
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("verbosity")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::tryAGI.OpenAI.JsonConverters.VerbosityJsonConverter))]
public global::tryAGI.OpenAI.Verbosity? Verbosity { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand All @@ -46,13 +56,21 @@ public sealed partial class ResponsePropertiesText
/// ensures the message the model generates is valid JSON. Using `json_schema`<br/>
/// is preferred for models that support it.
/// </param>
/// <param name="verbosity">
/// Constrains the verbosity of the model's response. Lower values will result in<br/>
/// more concise responses, while higher values will result in more verbose responses.<br/>
/// Currently supported values are `low`, `medium`, and `high`.<br/>
/// Default Value: medium
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public ResponsePropertiesText(
global::tryAGI.OpenAI.TextResponseFormatConfiguration? format)
global::tryAGI.OpenAI.TextResponseFormatConfiguration? format,
global::tryAGI.OpenAI.Verbosity? verbosity)
{
this.Format = format;
this.Verbosity = verbosity;
}

/// <summary>
Expand Down
6 changes: 4 additions & 2 deletions src/libs/tryAGI.OpenAI/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10366,6 +10366,8 @@ components:
type: integer
description: "An integer between 0 and 20 specifying the number of most likely tokens to\nreturn at each token position, each with an associated log probability.\n`logprobs` must be set to `true` if this parameter is used.\n"
nullable: true
verbosity:
$ref: '#/components/schemas/Verbosity'
Comment on lines +10369 to +10370
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Confirm schema existence and decide on nullability/optionality for verbosity.

  • Ensure #/components/schemas/Verbosity exists and is the intended target.
  • Clarify whether verbosity should be nullable (accepts null) and/or optional (omitted when unspecified). Current addition has no nullable: true unlike neighboring fields such as logprobs.

If you intend to allow nulls at the property level, this minimal change is typical for OAS 3.0:

             verbosity:
               $ref: '#/components/schemas/Verbosity'
+              nullable: true

Alternatively, make Verbosity itself nullable (applies to all references), or keep it non-nullable and simply omit it from the required list to make it optional.

Run this script to verify the Verbosity schema exists, find all verbosity properties, and check their $ref and nullable usage, plus whether any schema marks it as required:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

pip -q install pyyaml >/dev/null

FILE="$(fd -a 'openapi.yaml' | head -n1)"
if [[ -z "${FILE}" ]]; then
  echo "ERROR: openapi.yaml not found"
  exit 2
fi

python - << 'PY'
import sys, json, yaml, os
path = os.popen("fd -a openapi.yaml").read().strip().splitlines()[0]
with open(path, 'r', encoding='utf-8') as f:
    doc = yaml.safe_load(f)

schemas = (((doc or {}).get('components') or {}).get('schemas') or {})
verbosity_schema = schemas.get('Verbosity')
print("Verbosity schema exists:", bool(verbosity_schema))
if not verbosity_schema:
    sys.exit(1)

matches = []
def walk(node, path):
    if isinstance(node, dict):
        props = node.get('properties')
        if isinstance(props, dict) and 'verbosity' in props:
            p = props['verbosity']
            matches.append({
                'path': '/'.join(path+['properties','verbosity']),
                'has_ref': '$ref' in p,
                'ref': p.get('$ref'),
                'nullable': p.get('nullable'),
            })
        for k, v in node.items():
            walk(v, path+[str(k)])
    elif isinstance(node, list):
        for i, v in enumerate(node):
            walk(v, path+[str(i)])

walk(doc, [])
print("Found verbosity properties:", len(matches))
print(json.dumps(matches, indent=2))

required_hits = []
def reqwalk(node, path):
    if isinstance(node, dict):
        if isinstance(node.get('required'), list) and 'verbosity' in node['required']:
            required_hits.append('/'.join(path+['required']))
        for k, v in node.items():
            reqwalk(v, path+[str(k)])
    elif isinstance(node, list):
        for i, v in enumerate(node):
            reqwalk(v, path+[str(i)])

reqwalk(doc, [])
print("Required arrays containing 'verbosity':", required_hits)
PY

Length of output: 695


Confirm Verbosity schema and nullability for verbosity properties

  • The #/components/schemas/Verbosity schema exists.
  • There are two references to verbosity (both have $ref: '#/components/schemas/Verbosity' and no nullable):
    • components/schemas/CreateChatCompletionRequest/allOf/1/properties/verbosity
    • components/schemas/ResponseProperties/properties/text/properties/verbosity
  • Neither reference is marked required, so both fields are already optional.

If you need to allow null values, add nullable: true to each property. For example:

 components/schemas/CreateChatCompletionRequest:
   allOf:
     - $ref: '#/components/schemas/BaseRequest'
     - properties:
         verbosity:
           $ref: '#/components/schemas/Verbosity'
+          nullable: true

 components/schemas/ResponseProperties:
   properties:
     text:
       properties:
         verbosity:
           $ref: '#/components/schemas/Verbosity'
+          nullable: true

If you prefer to keep verbosity non-nullable, no changes are needed beyond omitting it from any required lists.

Committable suggestion skipped: line range outside the PR's diff.

🤖 Prompt for AI Agents
In src/libs/tryAGI.OpenAI/openapi.yaml around lines 10369 to 10370, verify the
intended nullability of the verbosity properties referencing the Verbosity
schema. If null values should be allowed, add "nullable: true" to both verbosity
properties under CreateChatCompletionRequest and ResponseProperties/text. If
null values are not allowed, no changes are needed since these properties are
already optional by not being in any required list.

web_search_options:
title: Web search
type: object
Expand Down Expand Up @@ -17890,8 +17892,6 @@ components:
description: "This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users. \nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers).\n"
example: user-1234
deprecated: true
verbosity:
$ref: '#/components/schemas/Verbosity'
ModerationImageURLInput:
required:
- type
Expand Down Expand Up @@ -22709,6 +22709,8 @@ components:
properties:
format:
$ref: '#/components/schemas/TextResponseFormatConfiguration'
verbosity:
$ref: '#/components/schemas/Verbosity'
Comment on lines +22712 to +22713
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

Align verbosity semantics across response config and parent schema; check SDK/codegen impact.

  • Keep verbosity’s nullability/optionality consistent everywhere it appears. If nulls are allowed elsewhere, mirror that here.
  • Adding a property to response config may affect generated SDKs/types. Ensure codegen and downstream typing/tests are updated.

If nulls should be accepted here too (OAS 3.0):

            verbosity:
              $ref: '#/components/schemas/Verbosity'
+             nullable: true

To spot potential breakage and ensure consistent usage across the repo:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# List all occurrences of 'Verbosity' schema and 'verbosity' property
rg -n -A2 -B2 '^\s*Verbosity:|^\s*verbosity:' -- src

# Check if any client/SDK code references response config fields near this addition
rg -n -A4 -B4 'TextResponseFormatConfiguration|verbosity' -- .

# If you rely on codegen, ensure manifests/configs mention this OpenAPI file
fd 'openapi' -e yaml -e yml -e json

Length of output: 72719


Add nullable: true to the new verbosity property and regenerate SDK

The verbosity field under TextResponseFormatConfiguration (at line 22712) is currently missing its nullable: true annotation, unlike the earlier occurrence at line 10369. Update the OpenAPI spec and then re-run codegen to keep downstream types and tests in sync.

• File: src/libs/tryAGI.OpenAI/openapi.yaml
Location: around line 22712

Suggested diff:

             verbosity:
               $ref: '#/components/schemas/Verbosity'
+              nullable: true

After applying this change, regenerate the client SDK/types and verify any impacted tests or type declarations.

Committable suggestion skipped: line range outside the PR's diff.

🤖 Prompt for AI Agents
In src/libs/tryAGI.OpenAI/openapi.yaml around line 22712, the `verbosity`
property under `TextResponseFormatConfiguration` is missing the `nullable: true`
annotation. Add `nullable: true` to this property in the OpenAPI spec, then
regenerate the client SDK and update any affected tests or type declarations to
keep everything consistent.

description: "Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](https://platform.openai.com/docs/guides/text)\n- [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)\n"
tool_choice:
anyOf:
Expand Down
Loading