Allow additionalProperties
in Claude and Llama schemas.
#1394
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.
Following update of samchon/openapi#91.
This pull request includes multiple changes across several files, primarily focusing on version updates, dependency updates, and documentation enhancements. The most important changes include updating the package versions, modifying dependencies, enhancing documentation for LLM schema types, and refining error messages and test cases.
Version and Dependency Updates:
package.json
: Updated the package version to7.0.0-dev.20241128
and changed the@samchon/openapi
dependency to^2.0.0-dev.20241128
. [1] [2]packages/typescript-json/package.json
: Updated the package version to7.0.0-dev.20241128
and changed thetypia
dependency to7.0.0-dev.20241128
. [1] [2]Documentation Enhancements:
src/llm.ts
: Added detailed documentation listing availableModel
types with their corresponding LLM schemas for better clarity and usage guidance. [1] [2] [3] [4] [5]Error Message Refinements:
src/programmers/llm/LlmApplicationProgrammer.ts
: Improved error message for dynamic keys in LLM applications.src/programmers/llm/LlmSchemaProgrammer.ts
: Enhanced error message specificity for unsupported dynamic properties in LLM schemas of"chatgpt"
and"gemini"
.Test Case Adjustments:
test/build/internal/TestLlmApplicationGenerator.ts
: Adjusted conditions for handling additional properties and prefix items in test cases for"chatgpt"
and"gemini"
.test/build/internal/TestLlmParametersGenerator.ts
: Similar adjustments as above for parameter generation tests.test/build/internal/TestLlmSchemaGenerator.ts
: Similar adjustments as above for schema generation tests.Removal of
additionalProperties
:test/generate/output/generate_llm.ts
: RemovedadditionalProperties: false
from multiple schema definitions to align with updated schema requirements. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]