diff --git a/docs/source/guides/state.rst b/docs/source/guides/state.rst index 7cc6b20a..3f875ce1 100644 --- a/docs/source/guides/state.rst +++ b/docs/source/guides/state.rst @@ -165,7 +165,7 @@ Then set the environment variable before running Plano: ./plano .. warning:: - **Special Characters in Passwords**: If your password contains special characters like ``#``, ``@``, or ``&``, you must URL-encode them in the connection string. For example, ``MyPass#123`` becomes ``MyPass%23123``. + **Special Characters in Passwords**: If your password contains special characters like ``#``, ``@``, or ``&``, you must URL-encode them in the connection string. For example, ``P@ss#123`` becomes ``P%40ss%23123``. Supabase Connection Strings ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -202,14 +202,14 @@ Use the direct connection (port 5432): state_storage: type: postgres - connection_string: "postgresql://postgres.myproject:$DB_PASSWORD@aws-0-us-west-2.pooler.supabase.com:5432/postgres" + connection_string: "postgresql://postgres.[YOUR-PROJECT-REF]:$DB_PASSWORD@aws-0-[REGION].pooler.supabase.com:5432/postgres" Then set the environment variable: .. code-block:: bash - # If your password is "MyPass#123", encode it as "MyPass%23123" - export DB_PASSWORD="MyPass%23123" + # If your password is "P@ss#123", encode it as "P%40ss%23123" + export DB_PASSWORD="" Troubleshooting --------------- diff --git a/docs/source/resources/db_setup/README.md b/docs/source/resources/db_setup/README.md index 34aff973..2936d1d6 100644 --- a/docs/source/resources/db_setup/README.md +++ b/docs/source/resources/db_setup/README.md @@ -64,8 +64,8 @@ After setting up the database table, configure your application to use Supabase **Example:** ```bash -# If your password is "MyPass#123", encode it as "MyPass%23123" -export DATABASE_URL="postgresql://postgres.myproject:MyPass%23123@aws-0-us-west-2.pooler.supabase.com:5432/postgres" +# If your password is "P@ss#123", encode it as "P%40ss%23123" +export DATABASE_URL="postgresql://postgres.[YOUR-PROJECT-REF]:@aws-0-[REGION].pooler.supabase.com:5432/postgres" ``` ### Testing the Connection diff --git a/docs/source/resources/includes/agents/flights.py b/docs/source/resources/includes/agents/flights.py index 69c93f25..069f06dd 100644 --- a/docs/source/resources/includes/agents/flights.py +++ b/docs/source/resources/includes/agents/flights.py @@ -28,7 +28,7 @@ EXTRACTION_MODEL = "openai/gpt-4o-mini" # FlightAware AeroAPI configuration AEROAPI_BASE_URL = "https://aeroapi.flightaware.com/aeroapi" -AEROAPI_KEY = os.getenv("AEROAPI_KEY", "ESVFX7TJLxB7OTuayUv0zTQBryA3tOPr") +AEROAPI_KEY = os.getenv("AEROAPI_KEY") # HTTP client for API calls http_client = httpx.AsyncClient(timeout=30.0)