ILlmSchema.IParameters.additionalProperties
to be false
.
#94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes updates to the
@samchon/openapi
package version and enhancements to the LLM converters to handle additional properties more robustly. It also adds new test cases to validate these changes.Version Update:
package.json
: Updated the package version from2.0.0-dev.20241129-4
to2.0.0-dev.20241129-8
.Enhancements to LLM Converters:
src/converters/LlmConverterV3.ts
: Added checks foradditionalProperties
and updated the schema to setadditionalProperties
to false when necessary. [1] [2]src/converters/LlmConverterV3_1.ts
: Similar updates asLlmConverterV3
to handleadditionalProperties
and ensure the schema reflects these constraints. [1] [2]New Test Cases:
test/features/llm/v3.1/test_llm_v30_parameters_dynamic.ts
: Added a new test case to validate the handling ofadditionalProperties
for LLM version 3.0.test/features/llm/v3.1/test_llm_v31_parameters_dynamic.ts
: Added a new test case to validate the handling ofadditionalProperties
for LLM version 3.1.