diff --git a/examples/server/chat.sh b/examples/server/chat.sh index e2b50fb44..a89f8e908 100644 --- a/examples/server/chat.sh +++ b/examples/server/chat.sh @@ -1,6 +1,6 @@ #!/bin/bash -API_URL="http://127.0.0.1:8080" +API_URL="${API_URL:-http://127.0.0.1:8080}" CHAT=( "Hello, Assistant."