Skip to content

Commit 9b3ece9

Browse files
committed
chore(format): commit unformatted code
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1 parent 214924c commit 9b3ece9

9 files changed

Lines changed: 28 additions & 9 deletions

File tree

  • examples/integrations
    • 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

examples/integrations/adk/src/app/api/copilotkit/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1515
const 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

examples/integrations/agno/src/app/api/copilotkit/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1616
const 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

examples/integrations/crewai-crews/src/app/api/copilotkit/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1414
// integration to setup the connection.
1515
const 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

examples/integrations/langgraph-js/apps/web/src/app/api/copilotkit/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}),

examples/integrations/langgraph-python/apps/app/src/app/api/copilotkit/[[...slug]]/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import { handle } from "hono/vercel";
88

99
const 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
});

examples/integrations/ms-agent-framework-dotnet/src/app/api/copilotkit/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1515
const 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

examples/integrations/ms-agent-framework-python/src/app/api/copilotkit/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1515
const 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

examples/integrations/pydantic-ai/src/app/api/copilotkit/route.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ const serviceAdapter = new ExperimentalEmptyAdapter();
1515
const 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

examples/integrations/strands-python/src/app/api/copilotkit/route.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)