Skip to content

Requests fail with Edge Config error when EDGE_CONFIG is not set #27

@intrinsicforce

Description

@intrinsicforce

Hi,

When running the project locally, the dev server starts up fine. However, any action that triggers a backend request (e.g., submitting a prompt) fails if the EDGE_CONFIG variable is not set in the .env.local file:

Error creating session: Error: @vercel/edge-config: Invalid connection string provided
at createSession (file://C%3A/Users/ECHO/gemini-browser/app/api/session/route.ts:134:28)
at POST (file://C%3A/Users/ECHO/gemini-browser/app/api/session/route.ts:211:30)

Expected Behavior:
The application should handle a missing EDGE_CONFIG gracefully. Core functionality that relies on the Gemini and Browserbase APIs should still work without this optional configuration.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions