-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
If you set PORT variable in .env file to anything other than 8000 you fail because of the route.ts looks for REMOTE_ACTION_URL and if it is not found it defaults to 8000 port here:
const runtime = new CopilotRuntime({
remoteEndpoints: [
{
url: process.env.REMOTE_ACTION_URL || "http://localhost:8000/copilotkit",
},
],
});
It should be documented and also maybe find a more elegant solution.
Cheers.
Metadata
Metadata
Assignees
Labels
No labels