File tree Expand file tree Collapse file tree
adk/src/app/api/copilotkit
agno/src/app/api/copilotkit
crewai-crews/src/app/api/copilotkit
langgraph-js/apps/web/src/app/api/copilotkit
langgraph-python/apps/app/src/app/api/copilotkit/[[...slug]]
ms-agent-framework-dotnet/src/app/api/copilotkit
ms-agent-framework-python/src/app/api/copilotkit
pydantic-ai/src/app/api/copilotkit
strands-python/src/app/api/copilotkit Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1515const runtime = new CopilotRuntime ( {
1616 agents : {
1717 // Our FastAPI endpoint URL
18- my_agent : new HttpAgent ( { url : process . env . AGENT_URL || "http://localhost:8000/" } ) ,
18+ my_agent : new HttpAgent ( {
19+ url : process . env . AGENT_URL || "http://localhost:8000/" ,
20+ } ) ,
1921 } ,
2022} ) ;
2123
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1616const runtime = new CopilotRuntime ( {
1717 agents : {
1818 // Our FastAPI endpoint URL
19- agno_agent : new HttpAgent ( { url : ( process . env . AGENT_URL || "http://localhost:8000" ) + "/agui" } ) ,
19+ agno_agent : new HttpAgent ( {
20+ url : ( process . env . AGENT_URL || "http://localhost:8000" ) + "/agui" ,
21+ } ) ,
2022 } ,
2123} ) ;
2224
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1414// integration to setup the connection.
1515const runtime = new CopilotRuntime ( {
1616 agents : {
17- starterAgent : new CrewAIAgent ( { url : process . env . AGENT_URL || "http://localhost:8000/" } ) ,
17+ starterAgent : new CrewAIAgent ( {
18+ url : process . env . AGENT_URL || "http://localhost:8000/" ,
19+ } ) ,
1820 } ,
1921} ) ;
2022
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ const runtime = new CopilotRuntime({
1616 agents : {
1717 starterAgent : new LangGraphAgent ( {
1818 deploymentUrl :
19- process . env . AGENT_URL || process . env . LANGGRAPH_DEPLOYMENT_URL || "http://localhost:8123" ,
19+ process . env . AGENT_URL ||
20+ process . env . LANGGRAPH_DEPLOYMENT_URL ||
21+ "http://localhost:8123" ,
2022 graphId : "starterAgent" ,
2123 langsmithApiKey : process . env . LANGSMITH_API_KEY || "" ,
2224 } ) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ import { handle } from "hono/vercel";
88
99const defaultAgent = new LangGraphAgent ( {
1010 deploymentUrl :
11- process . env . AGENT_URL || process . env . LANGGRAPH_DEPLOYMENT_URL || "http://localhost:8123" ,
11+ process . env . AGENT_URL ||
12+ process . env . LANGGRAPH_DEPLOYMENT_URL ||
13+ "http://localhost:8123" ,
1214 graphId : "sample_agent" ,
1315 langsmithApiKey : process . env . LANGSMITH_API_KEY || "" ,
1416} ) ;
Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1515const runtime = new CopilotRuntime ( {
1616 agents : {
1717 // Our FastAPI endpoint URL
18- my_agent : new HttpAgent ( { url : process . env . AGENT_URL || "http://localhost:8000/" } ) ,
18+ my_agent : new HttpAgent ( {
19+ url : process . env . AGENT_URL || "http://localhost:8000/" ,
20+ } ) ,
1921 } ,
2022} ) ;
2123
Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1515const runtime = new CopilotRuntime ( {
1616 agents : {
1717 // Our FastAPI endpoint URL
18- my_agent : new HttpAgent ( { url : process . env . AGENT_URL || "http://localhost:8000/" } ) ,
18+ my_agent : new HttpAgent ( {
19+ url : process . env . AGENT_URL || "http://localhost:8000/" ,
20+ } ) ,
1921 } ,
2022} ) ;
2123
Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1515const runtime = new CopilotRuntime ( {
1616 agents : {
1717 // Our FastAPI endpoint URL
18- my_agent : new HttpAgent ( { url : process . env . AGENT_URL || "http://localhost:8000/" } ) ,
18+ my_agent : new HttpAgent ( {
19+ url : process . env . AGENT_URL || "http://localhost:8000/" ,
20+ } ) ,
1921 } ,
2022} ) ;
2123
Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ const runtime = new CopilotRuntime({
1717 agents : {
1818 // Our FastAPI endpoint URL
1919 strands_agent : new HttpAgent ( {
20- url : process . env . AGENT_URL || process . env . STRANDS_AGENT_URL || "http://localhost:8000" ,
20+ url :
21+ process . env . AGENT_URL ||
22+ process . env . STRANDS_AGENT_URL ||
23+ "http://localhost:8000" ,
2124 } ) ,
2225 } ,
2326} ) ;
You can’t perform that action at this time.
0 commit comments