github langgenius/dify 0.3.21
Version 0.3.21

latest releases: 0.8.3, 0.8.2, 0.8.1...
12 months ago

⚠️ [BREAKING CHANGE] ⚠️

  • The fixed parameters of the Query content in the text generation application have been removed. Users can freely add any variables in the prompt, instead of appending the content of the query content at the end.
  • The query parameter in the POST /v1/completion-messages endpoint of the App OpenAPI is expected to be completely removed in 3 months. Currently, it's optional and the parameter in API documentation has already been removed.

To ensure that the previous applications can still function properly after removing the fixed parameters in the query content of the text generation application, we need to execute a command to fix the data:

Migration Guide

  1. Enter the Docker Container: Before running the migration script, you need to enter the Docker container where your application is running. Use the following command:

    docker exec -it docker-api-1 bash
  2. Run the Migration Script: Once inside the container, execute the following migration command. The migration script can be executed multiple times without side effects:

    # --batch-size: Specifies the number of records migrated per batch, default is 500
    flask update_app_model_configs --batch-size=500

What's Changed

Full Changelog: 0.3.20...0.3.21

Don't miss a new dify release

NewReleases is sending notifications on new releases.