Gateways are a fundamental component of Kosmoy Studio, providing a secure and controlled way to expose models, routers, and guardrails to your AI applications (Assistants and Coded Apps). They act as an intermediary, enforcing your defined access rules and ensuring that your applications interact with the Kosmoy platform in a governed manner.
You cannot edit or delete a Gateway if it is currently referenced by other entities within Kosmoy Studio. This includes being used in:
Assistants
Coded Apps
Any other Kosmoy Studio component that references Gateways.
Before attempting to edit or delete a Gateway, ensure it is not actively used in any of these areas. You may need to modify or remove the Gateway from those components first.
You can update the configuration of a registered Gateway, including its name, description, associated models, routers, and guardrails, provided it is not currently referenced by any Assistant or Coded App.
Navigate to Gateways: From the Kosmoy Studio home page, click on the “Gateways” icon in the left-hand navigation bar.
Locate the Gateway Card: Find the card for the Gateway you want to update.
Click the Edit (Pencil) Icon: This will open the update dialog.
Modify Gateway Parameters: Update the Gateway’s configuration as needed. You can change its name, description, add or remove models, routers, and guardrails.
Click “Save”: Save the changes.
If you attempt to edit a Gateway that is currently in use, a warning banner will be displayed at the top of the screen, preventing the modification.
You can remove a registered Gateway if it’s no longer needed. However, you cannot delete a Gateway that is currently referenced by any Assistant or Coded App.
Navigate to Gateways: From the Kosmoy Studio home page, click on the “Gateways” icon in the left-hand navigation bar.
Locate the Gateway Card: Find the card for the Gateway you want to remove.
Click the Delete (Trash Bin) Icon: This will trigger a confirmation prompt.
If you attempt to delete a Gateway that is currently in use, a modal will appear, preventing the deletion and explaining that the Gateway is in use.
Confirm Deletion: Confirm that you want to delete the Gateway.
Warning: Deleting a Gateway is a permanent action and cannot be undone. Ensure that the Gateway is not being referenced by any Assistant or Coded App before proceeding.