Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/dojo-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
fail-fast: false
matrix:
include:
- suite: adk-middleware
test_path: tests/adkMiddlewareTests
services: ["dojo","adk-middleware"]
wait_on: http://localhost:9999,tcp:localhost:8010
- suite: agno
test_path: tests/agnoTests
services: ["dojo","agno"]
Expand Down Expand Up @@ -147,6 +151,7 @@ jobs:
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
if: ${{ join(matrix.services, ',') != '' && contains(join(matrix.services, ','), 'dojo') }}
with:
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
import { PredictiveStateUpdatesPage } from "../../pages/adkMiddlewarePages/PredictiveStateUpdatesPage";

test.describe("Predictive State Updates Feature", () => {
test("[ADK Middleware] should interact with agent and approve asked changes", async ({
test.skip("[ADK Middleware] should interact with agent and approve asked changes", async ({
page,
}) => {
await retryOnAIFailure(async () => {
Expand Down Expand Up @@ -43,7 +43,7 @@ test.describe("Predictive State Updates Feature", () => {
});
});

test("[ADK Middleware] should interact with agent and reject asked changes", async ({
test.skip("[ADK Middleware] should interact with agent and reject asked changes", async ({
page,
}) => {
await retryOnAIFailure(async () => {
Expand Down
1 change: 1 addition & 0 deletions typescript-sdk/apps/dojo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"generate-content-json": "npx tsx scripts/generate-content-json.ts"
},
"dependencies": {
"@ag-ui/adk": "workspace:*",
"@ag-ui/agno": "workspace:*",
"@ag-ui/crewai": "workspace:*",
"@ag-ui/langgraph": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const agentFilesMapper: Record<string, (agentKeys: string[]) => Record<string, s
'adk-middleware': (agentKeys: string[]) => {
return agentKeys.reduce((acc, agentId) => ({
...acc,
[agentId]: [path.join(__dirname, integrationsFolderPath, `/adk-middleware/examples/server/api/${agentId}.py`)]
[agentId]: [path.join(__dirname, integrationsFolderPath, `/adk-middleware/python/examples/server/api/${agentId}.py`)]
}), {})
}
}
Expand Down
2 changes: 1 addition & 1 deletion typescript-sdk/apps/dojo/scripts/prep-dojo-everything.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const ALL_TARGETS = {
'adk-middleware': {
command: 'uv sync',
name: 'ADK Middleware',
cwd: path.join(integrationsRoot, 'adk-middleware/examples'),
cwd: path.join(integrationsRoot, 'adk-middleware/python/examples'),
},
'dojo': {
command: 'pnpm install --no-frozen-lockfile && pnpm build --filter=demo-viewer...',
Expand Down
2 changes: 1 addition & 1 deletion typescript-sdk/apps/dojo/scripts/run-dojo-everything.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const ALL_SERVICES = {
'adk-middleware': {
command: 'uv run dev',
name: 'ADK Middleware',
cwd: path.join(integrationsRoot, 'adk-middleware/examples'),
cwd: path.join(integrationsRoot, 'adk-middleware/python/examples'),
env: { PORT: 8010 },
},
'dojo': {
Expand Down
11 changes: 6 additions & 5 deletions typescript-sdk/apps/dojo/src/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { CrewAIAgent } from "@ag-ui/crewai";
import getEnvVars from "./env";
import { mastra } from "./mastra";
import { PydanticAIAgent } from "@ag-ui/pydantic-ai";
import { ADKAgent } from "@ag-ui/adk";

const envVars = getEnvVars();
export const agentsIntegrations: AgentIntegrationConfig[] = [
Expand Down Expand Up @@ -64,11 +65,11 @@ export const agentsIntegrations: AgentIntegrationConfig[] = [
id: "adk-middleware",
agents: async () => {
return {
agentic_chat: new ServerStarterAgent({ url: `${envVars.adkMiddlewareUrl}/chat` }),
tool_based_generative_ui: new ServerStarterAgent({ url: `${envVars.adkMiddlewareUrl}/adk-tool-based-generative-ui` }),
human_in_the_loop: new ServerStarterAgent({ url: `${envVars.adkMiddlewareUrl}/adk-human-in-loop-agent` }),
shared_state: new ServerStarterAgent({ url: `${envVars.adkMiddlewareUrl}/adk-shared-state-agent` }),
// predictive_state_updates: new ServerStarterAgent({ url: `${envVars.adkMiddlewareUrl}/adk-predictive-state-agent` }),
agentic_chat: new ADKAgent({ url: `${envVars.adkMiddlewareUrl}/chat` }),
tool_based_generative_ui: new ADKAgent({ url: `${envVars.adkMiddlewareUrl}/adk-tool-based-generative-ui` }),
human_in_the_loop: new ADKAgent({ url: `${envVars.adkMiddlewareUrl}/adk-human-in-loop-agent` }),
shared_state: new ADKAgent({ url: `${envVars.adkMiddlewareUrl}/adk-shared-state-agent` }),
// predictive_state_updates: new ADKAgent({ url: `${envVars.adkMiddlewareUrl}/adk-predictive-state-agent` }),
};
},
},
Expand Down
8 changes: 4 additions & 4 deletions typescript-sdk/apps/dojo/src/files.json

Large diffs are not rendered by default.

Loading
Loading