Skip to main content

Command: code-registry

The flexai code-registry command manages the connection between FlexAI and registries that host the source code of the models.

Connections are handled by the FlexAI GitHub App, which can be installed at the organization level by an organization owner, as well as at the repository level by the repository owner.

The FlexAI GitHub App only needs to be installed once per organization or repository. Once installed, organization members can use any of the allowed repositories to create workloads with FlexAI.

code-registry connect

Displays a unique URL that can be used to install the FlexAI GitHub App in a GitHub organization or for a sub-set of repositories.

Instructions on how to install the FlexAI GitHub App will be displayed in the terminal after running the command.

flexai code-registry connect

code-registry list

Lists all the connected code registries by providing their Name, Provider Name, Age, and Status.

flexai code-registry list

Example

        NAME       | PROVIDER | AGE |  STATUS
-------------------+----------+-----+------------
QwenLM | GitHub | 2d | Available
funnierinspanish | GitHub | 1h | Available

Uninstalling the FlexAI GitHub App

To remove a connection between FlexAI and a GitHub organization or repository, you only have to uninstall the FlexAI GitHub App. You can do this by visiting: https://github.com/settings/installations, selecting the "Configure" button next to the FlexAI app, and following the instructions provided by GitHub.