Simplifies the code by replacing type checks for None with
direct comparisons, improving readability and consistency in
handling None values during output validation.
Signed-off-by: -LAN- <laipz8200@outlook.com>
fix: Removes redundant token calculations and updates dependencies
Eliminates unnecessary pre-calculation of token limits and recalculation of max tokens
across multiple app runners, simplifying the logic for prompt handling.
Updates tiktoken library from version 0.8.0 to 0.9.0 for improved tokenization performance.
Increases default token limit in TokenBufferMemory to accommodate larger prompt messages.
These changes streamline the token management process and leverage the latest
improvements in the tiktoken library.
Fixes potential token overflow issues and prepares the system for handling larger
inputs more efficiently.
Relates to internal optimization tasks.
Signed-off-by: -LAN- <laipz8200@outlook.com>
chore: Updates to version 0.15.7 with new model support
Adds support for GPT-4.1 and Amazon Bedrock DeepSeek-R1 models.
Fixes issues with app creation from template categories and
DSL version checks.
Updates version numbers in configuration files and Docker
setup to 0.15.7 for consistency.
Addresses issues #18807, #18868, #18872, #18878, and #18912.
Signed-off-by: -LAN- <laipz8200@outlook.com>
feat(app_dsl_service): Refines version compatibility logic
Updates logic to handle various version comparisons, ensuring
more precise status returns based on version differences.
Improves handling of older and newer versions to prevent
mismatches and ensure appropriate compatibility status.
Signed-off-by: -LAN- <laipz8200@outlook.com>