build agent correctly
Some checks failed
Build and Push Agent Docker Image / build (push) Failing after 1m10s
Build and Push Web Docker Image / build (push) Successful in 3m34s

This commit is contained in:
2025-12-12 23:36:41 +01:00
parent 8fe2376940
commit 535a04e2e8
6 changed files with 75 additions and 45 deletions

View File

@@ -26,9 +26,9 @@ export const POST = async (req: NextRequest) => {
// 2. Create the CopilotRuntime instance with Auth0 configuration
const runtime = new CopilotRuntime({
agents: {
"sample_agent": new LangGraphAgent({
"vpi_1000": new LangGraphAgent({
deploymentUrl: process.env.LANGGRAPH_DEPLOYMENT_URL || "http://localhost:8123",
graphId: "sample_agent",
graphId: "vpi_1000",
langsmithApiKey: process.env.LANGSMITH_API_KEY || "",
assistantConfig: {
context: {