Skip to content

Commit e95c93d

Browse files
authored
update new agent route (#81)
1 parent bc7ced0 commit e95c93d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/api/copilotkit.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export default async function copilotHandler(
3131
const runtime = new CopilotRuntime({
3232
agents: {
3333
query_agent: new HttpAgent({
34-
url: process.env.AGENT_URL || 'http://localhost:8080/agent/',
34+
url:
35+
process.env.AGENT_URL || 'http://localhost:8080/api/agent/',
3536
headers,
3637
}),
3738
},

0 commit comments

Comments
 (0)