> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Changelog: 2025-04-01

## Highlights

* **Training Jobs now support multiple Datasets**: You can now attach multiple datasets to a Training Job.
* **`flexai source` command deprecated**: The `flexai source` command has been deprecated. You can now pass the `--repository-url` and `--repository-revision` flags directly to the `flexai training run` command.

## Added

* **Support for multiple Datasets in Training Jobs**: You can now attach multiple datasets to a Training Job, allowing for more complex training scenarios and improved data management.

* **`flexai code-registry` command**: The new `flexai code-registry` command allows you to grant access to your code repositories to the FlexAI. It replaces the functionality of the deprecated `flexai source` command. The `flexai code-registry` command provides a more streamlined and efficient way to manage your code repositories within the FlexAI ecosystem.

* **`flexai training run` new flags**: You can now pass the `--repository-url` and `--repository-revision` flags to the `flexai training run` command, allowing you to pass any public GitHub repository URL or the url of a private GitHub repository that has been registered with FlexAI using the `flexai code-registry connect` command.

  ```diff lang="flexi" theme={null}
  flexai training run my_training_job42 \
  -  --source-name <source_name> --source-revision <revision> \
  +  --repository-url <repository_url> --repository-revision <revision> \
  // ...
  ```

## Changed

* **`flexai training run` command**: The `flexai training run` command has been updated to accept multiple instances of the `-D` / `--dataset` flag, which can be used to specify a Dataset name and also supports a value mapping to specify the name of the Dataset inside the `/input/` directory. For example:
  * Key-value pair:
    ```bash theme={null}
    flexai training run -D media_files_revisited_20250221=media_files //...
    ```
    Will be mounted as:
    ```text theme={null}
    /input/media_files
    ```
  * Dataset name:
    ```bash theme={null}
    flexai training run -D media_files_revisited_20250221 //...
    ```
    Will be mounted as:
    ```text theme={null}
    /input/media_files_revisited_20250221
    ```

## Removed

* **`flexai source` command deprecated**: The `flexai source` command has been deprecated in favor of the `flexai code-registry` command.
