Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

Update OpenLIT test

patcher949aefaff47df
diff --git a/.github/workflows/ui-test.yml b/.github/workflows/ui-test.yml
index 3a6c7606..caac58d1 100644
--- a/.github/workflows/ui-test.yml
+++ b/.github/workflows/ui-test.yml
@@ -29,16 +29,17 @@ jobs:
- name: Start Docker Compose
run: docker compose -f src/dev-docker-compose.yml up --build -d
- - name: Wait for services to be healthy
+ - name: Wait for container to be running
run: |
- echo "Waiting for services to be healthy..."
- while [ "$(docker inspect --format='{{.State.Health.Status}}' openlit)" != "healthy" ]; do
- if [ "$(docker inspect --format='{{.State.Health.Status}}' openlit)" == "unhealthy" ]; then
- echo "Service is unhealthy, exiting..."
+ echo "Waiting for the OpenLIT container to be running..."
+ while [ "$(docker inspect -f '{{.State.Running}}' openlit)" != "true" ]; do
+ if [ "$(docker inspect -f '{{.State.Running}}' openlit)" == "false" ]; then
+ echo "OpenLIT container failed to run, exiting..."
exit 1
fi
sleep 5
done
+ echo "OpenLIT container is running."
- name: Post Docker logs in case of failure
if: failure()
diff --git a/src/README.md b/src/README.md
index bf82211a..0fd87842 100644
--- a/src/README.md
+++ b/src/README.md
@@ -24,4 +24,4 @@ To run the development environment, follow these steps:
docker compose -f dev-docker-compose.yml down
```
-This command stops all running containers and removes them along with their networks. It's a clean way to shut down your development environment.
\ No newline at end of file
+This command stops all running containers and removes them along with their networks. It's a clean way to shut down your development environment.