We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc7ced0 commit e95c93dCopy full SHA for e95c93d
pages/api/copilotkit.ts
@@ -31,7 +31,8 @@ export default async function copilotHandler(
31
const runtime = new CopilotRuntime({
32
agents: {
33
query_agent: new HttpAgent({
34
- url: process.env.AGENT_URL || 'http://localhost:8080/agent/',
+ url:
35
+ process.env.AGENT_URL || 'http://localhost:8080/api/agent/',
36
headers,
37
}),
38
},
0 commit comments