diff --git a/agenta-web/src/components/Playground/ViewNavigation.tsx b/agenta-web/src/components/Playground/ViewNavigation.tsx index 8c86231ef0..2c5470523f 100644 --- a/agenta-web/src/components/Playground/ViewNavigation.tsx +++ b/agenta-web/src/components/Playground/ViewNavigation.tsx @@ -16,7 +16,7 @@ import { waitForAppToStart, } from "@/lib/services/api" import {useAppsData} from "@/contexts/app.context" -import {isDemo} from "@/lib/helpers/utils" +import {isDemo, isCloud, isEnterprise} from "@/lib/helpers/utils" interface Props { variant: Variant @@ -174,21 +174,37 @@ const ViewNavigation: React.FC = ({ Verify whether the API is up by checking if {apiAddress} is accessible. -
  • - Check if the Docker container for the variant {variantDesignator} is - active by running the following command in your terminal: -
    docker logs {containerName} --tail 50 -f
    - Running the above command will enable you to continuously stream the - container logs in real-time as they are generated. -
  • - -

    - {" "} - In case the docker container is not running, please check the Docker - logs to understand the issue. Most of the time, it is due to missing - requirements. Also, please attempt restarting it (using cli or docker - desktop). -

    + {isCloud() && ( +
    +
  • + Check if the lambda function for the variant {variantDesignator} is + active by running the following command in your terminal: +
    agenta get logs --variant :variant_id:
    or
    agenta get logs :variant_id:
    + Running the above command will enable you to view the latest logs stream events. +
  • +
    + )} + {isEnterprise() && ( +
  • + )} + {!isCloud() && ( +
    +
  • + Check if the Docker container for the variant {variantDesignator} is + active by running the following command in your terminal: +
    docker logs {containerName} --tail 50 -f
    + Running the above command will enable you to continuously stream the + container logs in real-time as they are generated. +
  • +

    + {" "} + In case the docker container is not running, please check the Docker + logs to understand the issue. Most of the time, it is due to missing + requirements. Also, please attempt restarting it (using cli or docker + desktop). +

    +
    + )}

    {" "} If the issue persists please file an issue in github here: